#CB89F8#CB89F8

#CB89F8 is a light, vivid violet. Relative luminance 0.374; OKLCH L 73.9% C 0.168 H 310.3°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#CB89F8
RGBrgb(203, 137, 248)
HSLhsl(276, 89%, 75%)
HSVhsv(276, 45%, 97%)
CMYKcmyk(18.1%, 44.8%, 0%, 2.7%)
CIE-LABlab(67.55, 44.87, -45.94)
CIE-LCHlch(67.55, 64.22, 314.33°)
OKLaboklab(73.86% 0.1083 -0.1278)
OKLCHoklch(73.86% 0.168 310.3)
XYZxyz(50.5144, 37.3660, 93.3400)
Luminance0.3736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89F8 #B6F889
analogous
#9389F8 #CB89F8 #F889ED
triadic
#CB89F8 #F8CB89 #89F8CB
tetradic
#CB89F8 #F89389 #B6F889 #89EDF8
square
#CB89F8 #F89389 #B6F889 #89EDF8
split-complementary
#CB89F8 #EDF889 #89F893
monochromatic
#9815F1 #B24FF5 #CB89F8 #E4C3FB #F2E2FD

Accessibility & contrast

On white

2.48
#CB89F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#CB89F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89F8
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89F8#FFFFFF#000000##000000
##CB89F81.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#70A1FC
Deuteranopia (green-blind)
#81A6F5
Tritanopia (blue-blind)
#C69AB5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #cb89f8;
/* rgb */ color: rgb(203, 137, 248);
/* oklch */ color: oklch(73.9% 0.168 310.3);
Tailwind
colors: {
  custom: {
    50: '#ddadfb',
    500: '#cb89f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb89f8;
$custom-light: #ddadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89f8",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 275.676,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73863,
    "c": 0.16756,
    "h": 310.3
  },
  "luminance": 0.37365
}

Semantic roles & 50–950 ramp

primary
#CB89F8
secondary
#E3F5D6
accent
#E5005D
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB89F8

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

Preview Lab → · Contrast checker → · Palette generator →

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