#CB8FEF#CB8FEF

#CB8FEF is a light, vivid violet. Relative luminance 0.386; OKLCH L 74.4% C 0.147 H 311.9°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#CB8FEF
RGBrgb(203, 143, 239)
HSLhsl(278, 75%, 75%)
HSVhsv(278, 40%, 94%)
CMYKcmyk(15.1%, 40.2%, 0%, 6.3%)
CIE-LABlab(68.44, 39.73, -39.61)
CIE-LCHlch(68.44, 56.10, 315.09°)
OKLaboklab(74.4% 0.0985 -0.1096)
OKLCHoklch(74.4% 0.147 311.9)
XYZxyz(50.0284, 38.5743, 86.4547)
Luminance0.3857 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FEF #B3EF8F
analogous
#9B8FEF #CB8FEF #EF8FE3
triadic
#CB8FEF #EFCB8F #8FEFCB
tetradic
#CB8FEF #EF9B8F #B3EF8F #8FE3EF
square
#CB8FEF #EF9B8F #B3EF8F #8FE3EF
split-complementary
#CB8FEF #E3EF8F #8FEF9B
monochromatic
#9924E0 #B259E7 #CB8FEF #E4C5F7 #F3E4FB

Accessibility & contrast

On white

2.41
#CB8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#CB8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FEF
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FEF#FFFFFF#000000##000000
##CB8FEF1.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA4F3
Deuteranopia (green-blind)
#8BA8EC
Tritanopia (blue-blind)
#C89DB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cb8fef;
/* rgb */ color: rgb(203, 143, 239);
/* oklch */ color: oklch(74.4% 0.147 311.9);
Tailwind
colors: {
  custom: {
    50: '#dcb1f4',
    500: '#cb8fef',
    950: '#000000',
  },
}
SCSS
$custom: #cb8fef;
$custom-light: #dcb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8fef",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 277.5,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.744,
    "c": 0.14733,
    "h": 311.9
  },
  "luminance": 0.38573
}

Semantic roles & 50–950 ramp

primary
#CB8FEF
secondary
#E2F3D8
accent
#D70E5A
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CB8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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