#CB8BF9#CB8BF9

#CB8BF9 is a light, vivid violet. Relative luminance 0.380; OKLCH L 74.2% C 0.165 H 309.7°. Best body text is #000000 at 8.60:1 contrast (WCAG AA passes).

Color values

HEX#CB8BF9
RGBrgb(203, 139, 249)
HSLhsl(275, 90%, 76%)
HSVhsv(275, 44%, 98%)
CMYKcmyk(18.5%, 44.2%, 0%, 2.4%)
CIE-LABlab(68.02, 44.02, -45.74)
CIE-LCHlch(68.02, 63.49, 313.90°)
OKLaboklab(74.23% 0.1058 -0.1273)
OKLCHoklch(74.23% 0.165 309.7)
XYZxyz(50.9569, 38.0021, 94.2549)
Luminance0.3800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8BF9 #B9F98B
analogous
#948BF9 #CB8BF9 #F98BF0
triadic
#CB8BF9 #F9CB8B #8BF9CB
tetradic
#CB8BF9 #F9948B #B9F98B #8BF0F9
square
#CB8BF9 #F9948B #B9F98B #8BF0F9
split-complementary
#CB8BF9 #F0F98B #8BF994
monochromatic
#9717F3 #B151F6 #CB8BF9 #E5C5FC #F2E2FD

Accessibility & contrast

On white

2.44
#CB8BF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.60
#CB8BF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8BF9
8.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8BF9#FFFFFF#000000##000000
##CB8BF91.002.448.608.60
#FFFFFF2.441.0021.0021.00
#0000008.6021.001.001.00
##0000008.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#72A3FD
Deuteranopia (green-blind)
#83A7F6
Tritanopia (blue-blind)
#C59CB6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #cb8bf9;
/* rgb */ color: rgb(203, 139, 249);
/* oklch */ color: oklch(74.2% 0.165 309.7);
Tailwind
colors: {
  custom: {
    50: '#ddaefb',
    500: '#cb8bf9',
    950: '#000000',
  },
}
SCSS
$custom: #cb8bf9;
$custom-light: #ddaefb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8bf9",
  "rgb": {
    "r": 203,
    "g": 139,
    "b": 249
  },
  "hsl": {
    "h": 274.909,
    "s": 90.164,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74231,
    "c": 0.16548,
    "h": 309.7
  },
  "luminance": 0.38001
}

Semantic roles & 50–950 ramp

primary
#CB8BF9
secondary
#E3F6D5
accent
#E60060
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB8BF9

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

Preview Lab → · Contrast checker → · Palette generator →

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