#CB89FB#CB89FB

#CB89FB is a light, vivid violet. Relative luminance 0.376; OKLCH L 74.0% C 0.171 H 309.5°. Best body text is #000000 at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#CB89FB
RGBrgb(203, 137, 251)
HSLhsl(275, 93%, 76%)
HSVhsv(275, 45%, 98%)
CMYKcmyk(19.1%, 45.4%, 0%, 1.6%)
CIE-LABlab(67.69, 45.52, -47.36)
CIE-LCHlch(67.69, 65.69, 313.87°)
OKLaboklab(74.01% 0.1088 -0.1319)
OKLCHoklch(74.01% 0.171 309.5)
XYZxyz(50.9836, 37.5536, 95.8108)
Luminance0.3755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB89FB #B9FB89
analogous
#9289FB #CB89FB #FB89F2
triadic
#CB89FB #FBCB89 #89FBCB
tetradic
#CB89FB #FB9289 #B9FB89 #89F2FB
square
#CB89FB #FB9289 #B9FB89 #89F2FB
split-complementary
#CB89FB #F2FB89 #89FB92
monochromatic
#9713F7 #B14EF9 #CB89FB #E5C4FD #F2E1FE

Accessibility & contrast

On white

2.47
#CB89FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.51
#CB89FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB89FB
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB89FB#FFFFFF#000000##000000
##CB89FB1.002.478.518.51
#FFFFFF2.471.0021.0021.00
#0000008.5121.001.001.00
##0000008.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6EA2FF
Deuteranopia (green-blind)
#80A6F8
Tritanopia (blue-blind)
#C59BB6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cb89fb;
/* rgb */ color: rgb(203, 137, 251);
/* oklch */ color: oklch(74.0% 0.171 309.5);
Tailwind
colors: {
  custom: {
    50: '#ddadfd',
    500: '#cb89fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb89fb;
$custom-light: #ddadfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb89fb",
  "rgb": {
    "r": 203,
    "g": 137,
    "b": 251
  },
  "hsl": {
    "h": 274.737,
    "s": 93.443,
    "l": 76.078
  },
  "oklch": {
    "l": 0.74013,
    "c": 0.171,
    "h": 309.5
  },
  "luminance": 0.37553
}

Semantic roles & 50–950 ramp

primary
#CB89FB
secondary
#E3F6D5
accent
#E60061
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CB89FB

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

Preview Lab → · Contrast checker → · Palette generator →

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