#CB8FF5#CB8FF5

#CB8FF5 is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.7% C 0.154 H 310.2°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#CB8FF5
RGBrgb(203, 143, 245)
HSLhsl(275, 84%, 76%)
HSVhsv(275, 42%, 96%)
CMYKcmyk(17.1%, 41.6%, 0%, 3.9%)
CIE-LABlab(68.70, 41.01, -42.49)
CIE-LCHlch(68.70, 59.05, 313.99°)
OKLaboklab(74.68% 0.0996 -0.1179)
OKLCHoklch(74.68% 0.154 310.2)
XYZxyz(50.9295, 38.9348, 91.2007)
Luminance0.3893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB8FF5 #B9F58F
analogous
#988FF5 #CB8FF5 #F58FEC
triadic
#CB8FF5 #F5CB8F #8FF5CB
tetradic
#CB8FF5 #F5988F #B9F58F #8FECF5
square
#CB8FF5 #F5988F #B9F58F #8FECF5
split-complementary
#CB8FF5 #ECF58F #8FF598
monochromatic
#971FEB #B157F0 #CB8FF5 #E5C7FA #F2E3FC

Accessibility & contrast

On white

2.39
#CB8FF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#CB8FF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB8FF5
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB8FF5#FFFFFF#000000##000000
##CB8FF51.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA5F9
Deuteranopia (green-blind)
#88A9F2
Tritanopia (blue-blind)
#C69EB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb8ff5;
/* rgb */ color: rgb(203, 143, 245);
/* oklch */ color: oklch(74.7% 0.154 310.2);
Tailwind
colors: {
  custom: {
    50: '#dcb1f9',
    500: '#cb8ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cb8ff5;
$custom-light: #dcb1f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb8ff5",
  "rgb": {
    "r": 203,
    "g": 143,
    "b": 245
  },
  "hsl": {
    "h": 275.294,
    "s": 83.607,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74684,
    "c": 0.1543,
    "h": 310.2
  },
  "luminance": 0.38934
}

Semantic roles & 50–950 ramp

primary
#CB8FF5
secondary
#E3F4D7
accent
#E0055F
background
#FDFAFF
surface
#FBF5FF
border
#D4CFD7
text
#151117
muted
#838085

Preview Lab

Preview with #CB8FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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