#B267DC#B267DC

#B267DC is a light, vivid violet. Relative luminance 0.243; OKLCH L 64.5% C 0.181 H 312.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#B267DC
RGBrgb(178, 103, 220)
HSLhsl(278, 63%, 63%)
HSVhsv(278, 53%, 86%)
CMYKcmyk(19.1%, 53.2%, 0%, 13.7%)
CIE-LABlab(56.42, 50.03, -48.15)
CIE-LCHlch(56.42, 69.44, 316.09°)
OKLaboklab(64.53% 0.1211 -0.1347)
OKLCHoklch(64.53% 0.181 312)
XYZxyz(36.1263, 24.3336, 70.4900)
Luminance0.2433 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B267DC #91DC67
analogous
#7767DC #B267DC #DC67CB
triadic
#B267DC #DCB267 #67DCB2
tetradic
#B267DC #DC7767 #91DC67 #67CBDC
square
#B267DC #DC7767 #91DC67 #67CBDC
split-complementary
#B267DC #CBDC67 #67DC77
monochromatic
#7626A3 #9935D1 #B267DC #CB99E7 #E4CAF3

Accessibility & contrast

On white

3.58
#B267DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#B267DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B267DC
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B267DC#FFFFFF#000000##000000
##B267DC1.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4883E0
Deuteranopia (green-blind)
#6089D9
Tritanopia (blue-blind)
#AE7B98
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #b267dc;
/* rgb */ color: rgb(178, 103, 220);
/* oklch */ color: oklch(64.5% 0.181 312.0);
Tailwind
colors: {
  custom: {
    50: '#cc95e7',
    500: '#b267dc',
    950: '#000000',
  },
}
SCSS
$custom: #b267dc;
$custom-light: #cc95e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b267dc",
  "rgb": {
    "r": 178,
    "g": 103,
    "b": 220
  },
  "hsl": {
    "h": 278.462,
    "s": 62.567,
    "l": 63.333
  },
  "oklch": {
    "l": 0.64531,
    "c": 0.18117,
    "h": 312
  },
  "luminance": 0.24333
}

Semantic roles & 50–950 ramp

primary
#B267DC
secondary
#CAE4BB
accent
#CA1B5A
background
#FCF9FE
surface
#F9F2FC
border
#D2CCD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B267DC

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

Preview Lab → · Contrast checker → · Palette generator →

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