#CB89F2#CB89F2

#CB89F2 is a light, vivid violet. Relative luminance 0.370; OKLCH L 73.6% C 0.161 H 311.9°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#CB89F2
RGBrgb(203, 137, 242)
HSLhsl(278, 80%, 74%)
HSVhsv(278, 43%, 95%)
CMYKcmyk(16.1%, 43.4%, 0%, 5.1%)
CIE-LABlab(67.28, 43.59, -43.08)
CIE-LCHlch(67.28, 61.29, 315.34°)
OKLaboklab(73.57% 0.1074 -0.1196)
OKLCHoklch(73.57% 0.161 311.9)
XYZxyz(49.5985, 36.9996, 88.5160)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89F2 #B0F289
analogous
#9789F2 #CB89F2 #F289E5
triadic
#CB89F2 #F2CB89 #89F2CB
tetradic
#CB89F2 #F29789 #B0F289 #89E5F2
square
#CB89F2 #F29789 #B0F289 #89E5F2
split-complementary
#CB89F2 #E5F289 #89F297
monochromatic
#9A1BE6 #B352EC #CB89F2 #E3C0F8 #F3E3FC

Accessibility & contrast

On white

2.50
#CB89F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#CB89F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89F2
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89F2#FFFFFF#000000##000000
##CB89F21.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#73A0F6
Deuteranopia (green-blind)
#84A5EF
Tritanopia (blue-blind)
#C799B2
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb89f2;
/* rgb */ color: rgb(203, 137, 242);
/* oklch */ color: oklch(73.6% 0.161 311.9);
Tailwind
colors: {
  custom: {
    50: '#dcadf7',
    500: '#cb89f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb89f2;
$custom-light: #dcadf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89f2",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 277.714,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.73568,
    "c": 0.16072,
    "h": 311.9
  },
  "luminance": 0.36999
}

Semantic roles & 50–950 ramp

primary
#CB89F2
secondary
#E2F4D7
accent
#DC0958
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB89F2

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

Preview Lab → · Contrast checker → · Palette generator →

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