#CB89F0#CB89F0

#CB89F0 is a light, vivid violet. Relative luminance 0.369; OKLCH L 73.5% C 0.158 H 312.5°. Best body text is #000000 at 8.38:1 contrast (WCAG AA passes).

Color values

HEX#CB89F0
RGBrgb(203, 137, 240)
HSLhsl(278, 77%, 74%)
HSVhsv(278, 43%, 94%)
CMYKcmyk(15.4%, 42.9%, 0%, 5.9%)
CIE-LABlab(67.19, 43.17, -42.12)
CIE-LCHlch(67.19, 60.31, 315.70°)
OKLaboklab(73.47% 0.1071 -0.1168)
OKLCHoklch(73.47% 0.158 312.5)
XYZxyz(49.2998, 36.8801, 86.9427)
Luminance0.3688 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89F0 #AEF089
analogous
#9889F0 #CB89F0 #F089E1
triadic
#CB89F0 #F0CB89 #89F0CB
tetradic
#CB89F0 #F09889 #AEF089 #89E1F0
square
#CB89F0 #F09889 #AEF089 #89E1F0
split-complementary
#CB89F0 #E1F089 #89F098
monochromatic
#9B1DE2 #B353E9 #CB89F0 #E3BFF7 #F3E4FC

Accessibility & contrast

On white

2.51
#CB89F0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.38
#CB89F0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89F0
8.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89F0#FFFFFF#000000##000000
##CB89F01.002.518.388.38
#FFFFFF2.511.0021.0021.00
#0000008.3821.001.001.00
##0000008.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A0F4
Deuteranopia (green-blind)
#85A5ED
Tritanopia (blue-blind)
#C898B1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb89f0;
/* rgb */ color: rgb(203, 137, 240);
/* oklch */ color: oklch(73.5% 0.158 312.5);
Tailwind
colors: {
  custom: {
    50: '#dcadf5',
    500: '#cb89f0',
    950: '#000000',
  },
}
SCSS
$custom: #cb89f0;
$custom-light: #dcadf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89f0",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 240
  },
  "hsl": {
    "h": 278.447,
    "s": 77.444,
    "l": 73.922
  },
  "oklch": {
    "l": 0.73472,
    "c": 0.15844,
    "h": 312.5
  },
  "luminance": 0.36879
}

Semantic roles & 50–950 ramp

primary
#CB89F0
secondary
#E2F3D8
accent
#DA0C56
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#151017
muted
#837F85

Preview Lab

Preview with #CB89F0

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

Preview Lab → · Contrast checker → · Palette generator →

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