#CB8BEF#CB8BEF

#CB8BEF is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.7% C 0.154 H 312.5°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).

Color values

HEX#CB8BEF
RGBrgb(203, 139, 239)
HSLhsl(278, 76%, 74%)
HSVhsv(278, 42%, 94%)
CMYKcmyk(15.1%, 41.8%, 0%, 6.3%)
CIE-LABlab(67.57, 41.89, -40.97)
CIE-LCHlch(67.57, 58.59, 315.63°)
OKLaboklab(73.75% 0.1041 -0.1135)
OKLCHoklch(73.75% 0.154 312.5)
XYZxyz(49.4386, 37.3947, 86.2581)
Luminance0.3739 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BEF #AFEF8B
analogous
#998BEF #CB8BEF #EF8BE1
triadic
#CB8BEF #EFCB8B #8BEFCB
tetradic
#CB8BEF #EF998B #AFEF8B #8BE1EF
square
#CB8BEF #EF998B #AFEF8B #8BE1EF
split-complementary
#CB8BEF #E1EF8B #8BEF99
monochromatic
#9B1FE0 #B355E8 #CB8BEF #E3C1F6 #F3E4FB

Accessibility & contrast

On white

2.48
#CB8BEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.48
#CB8BEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BEF
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BEF#FFFFFF#000000##000000
##CB8BEF1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A1F3
Deuteranopia (green-blind)
#88A6EC
Tritanopia (blue-blind)
#C89AB2
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb8bef;
/* rgb */ color: rgb(203, 139, 239);
/* oklch */ color: oklch(73.7% 0.154 312.5);
Tailwind
colors: {
  custom: {
    50: '#dcaef4',
    500: '#cb8bef',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bef;
$custom-light: #dcaef4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bef",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 239
  },
  "hsl": {
    "h": 278.4,
    "s": 75.758,
    "l": 74.118
  },
  "oklch": {
    "l": 0.73746,
    "c": 0.154,
    "h": 312.5
  },
  "luminance": 0.37394
}

Semantic roles & 50–950 ramp

primary
#CB8BEF
secondary
#E2F3D8
accent
#D80E56
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8BEF

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

Preview Lab → · Contrast checker → · Palette generator →

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