#B267EF#B267EF

#B267EF is a light, highly saturated violet. Relative luminance 0.254; OKLCH L 65.6% C 0.202 H 307.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#B267EF
RGBrgb(178, 103, 239)
HSLhsl(273, 81%, 67%)
HSVhsv(273, 57%, 94%)
CMYKcmyk(25.5%, 56.9%, 0%, 6.3%)
CIE-LABlab(57.46, 54.23, -57.14)
CIE-LCHlch(57.46, 78.77, 313.50°)
OKLaboklab(65.63% 0.122 -0.161)
OKLCHoklch(65.63% 0.202 307.2)
XYZxyz(38.7871, 25.3979, 84.5036)
Luminance0.2540 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B267EF #A4EF67
analogous
#6E67EF #B267EF #EF67E8
triadic
#B267EF #EFB267 #67EFB2
tetradic
#B267EF #EF6E67 #A4EF67 #67E8EF
square
#B267EF #EF6E67 #A4EF67 #67E8EF
split-complementary
#B267EF #E8EF67 #67EF6E
monochromatic
#7715C7 #9630E9 #B267EF #CE9EF5 #EAD6FB

Accessibility & contrast

On white

3.45
#B267EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#B267EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B267EF
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B267EF#FFFFFF#000000##000000
##B267EF1.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3487F3
Deuteranopia (green-blind)
#528BEC
Tritanopia (blue-blind)
#A981A1
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #b267ef;
/* rgb */ color: rgb(178, 103, 239);
/* oklch */ color: oklch(65.6% 0.202 307.2);
Tailwind
colors: {
  custom: {
    50: '#cc95f5',
    500: '#b267ef',
    950: '#000000',
  },
}
SCSS
$custom: #b267ef;
$custom-light: #cc95f5;
$custom-dark: #000000;
JSON
{
  "hex": "#b267ef",
  "rgb": {
    "r": 178,
    "g": 103,
    "b": 239
  },
  "hsl": {
    "h": 273.088,
    "s": 80.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.65632,
    "c": 0.20198,
    "h": 307.2
  },
  "luminance": 0.25397
}

Semantic roles & 50–950 ramp

primary
#B267EF
secondary
#D7EEC3
accent
#DD0868
background
#FCF9FF
surface
#F9F2FE
border
#D2CCD6
text
#140D17
muted
#827E85

Preview Lab

Preview with #B267EF

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

Preview Lab → · Contrast checker → · Palette generator →

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