#CB89FD#CB89FD

#CB89FD is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.1% C 0.173 H 309.0°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CB89FD
RGBrgb(203, 137, 253)
HSLhsl(274, 97%, 76%)
HSVhsv(274, 46%, 99%)
CMYKcmyk(19.8%, 45.8%, 0%, 0.8%)
CIE-LABlab(67.78, 45.96, -48.30)
CIE-LCHlch(67.78, 66.67, 313.57°)
OKLaboklab(74.11% 0.1091 -0.1347)
OKLCHoklch(74.11% 0.173 309)
XYZxyz(51.3005, 37.6804, 97.4800)
Luminance0.3768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89FD #BBFD89
analogous
#9189FD #CB89FD #FD89F5
triadic
#CB89FD #FDCB89 #89FDCB
tetradic
#CB89FD #FD9189 #BBFD89 #89F5FD
square
#CB89FD #FD9189 #BBFD89 #89F5FD
split-complementary
#CB89FD #F5FD89 #89FD91
monochromatic
#9611FB #B04DFC #CB89FD #E6C5FE #F2E1FE

Accessibility & contrast

On white

2.46
#CB89FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#CB89FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89FD
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89FD#FFFFFF#000000##000000
##CB89FD1.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#6DA2FF
Deuteranopia (green-blind)
#7FA6FA
Tritanopia (blue-blind)
#C49CB7
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb89fd;
/* rgb */ color: rgb(203, 137, 253);
/* oklch */ color: oklch(74.1% 0.173 309.0);
Tailwind
colors: {
  custom: {
    50: '#ddadfe',
    500: '#cb89fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb89fd;
$custom-light: #ddadfe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89fd",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 253
  },
  "hsl": {
    "h": 274.138,
    "s": 96.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.74114,
    "c": 0.17329,
    "h": 309
  },
  "luminance": 0.3768
}

Semantic roles & 50–950 ramp

primary
#CB89FD
secondary
#E3F7D4
accent
#E60063
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB89FD

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

Preview Lab → · Contrast checker → · Palette generator →

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