#B267EC#B267EC

#B267EC is a light, vivid violet. Relative luminance 0.252; OKLCH L 65.5% C 0.199 H 307.9°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#B267EC
RGBrgb(178, 103, 236)
HSLhsl(274, 78%, 66%)
HSVhsv(274, 56%, 93%)
CMYKcmyk(24.6%, 56.4%, 0%, 7.5%)
CIE-LABlab(57.29, 53.55, -55.74)
CIE-LCHlch(57.29, 77.29, 313.85°)
OKLaboklab(65.45% 0.1219 -0.1569)
OKLCHoklch(65.45% 0.199 307.9)
XYZxyz(38.3476, 25.2221, 82.1888)
Luminance0.2522 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B267EC #A1EC67
analogous
#7067EC #B267EC #EC67E3
triadic
#B267EC #ECB267 #67ECB2
tetradic
#B267EC #EC7067 #A1EC67 #67E3EC
square
#B267EC #EC7067 #A1EC67 #67E3EC
split-complementary
#B267EC #E3EC67 #67EC70
monochromatic
#7718C1 #9631E5 #B267EC #CE9DF3 #E9D4FA

Accessibility & contrast

On white

3.47
#B267EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#B267EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B267EC
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B267EC#FFFFFF#000000##000000
##B267EC1.003.476.046.04
#FFFFFF3.471.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3787F0
Deuteranopia (green-blind)
#548AE9
Tritanopia (blue-blind)
#A980A0
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b267ec;
/* rgb */ color: rgb(178, 103, 236);
/* oklch */ color: oklch(65.5% 0.199 307.9);
Tailwind
colors: {
  custom: {
    50: '#cc95f3',
    500: '#b267ec',
    950: '#000000',
  },
}
SCSS
$custom: #b267ec;
$custom-light: #cc95f3;
$custom-dark: #000000;
JSON
{
  "hex": "#b267ec",
  "rgb": {
    "r": 178,
    "g": 103,
    "b": 236
  },
  "hsl": {
    "h": 273.835,
    "s": 77.778,
    "l": 66.471
  },
  "oklch": {
    "l": 0.65453,
    "c": 0.19868,
    "h": 307.9
  },
  "luminance": 0.25222
}

Semantic roles & 50–950 ramp

primary
#B267EC
secondary
#D5EDC2
accent
#DA0B66
background
#FCF9FE
surface
#F9F2FD
border
#D2CCD5
text
#140D17
muted
#827E85

Preview Lab

Preview with #B267EC

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#B267EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva