#CB5FCB#CB5FCB

#CB5FCB is a light, vivid purple. Relative luminance 0.252; OKLCH L 65.6% C 0.189 H 327.5°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#CB5FCB
RGBrgb(203, 95, 203)
HSLhsl(300, 51%, 58%)
HSVhsv(300, 53%, 80%)
CMYKcmyk(0%, 53.2%, 0%, 20.4%)
CIE-LABlab(57.26, 57.33, -36.98)
CIE-LCHlch(57.26, 68.22, 327.17°)
OKLaboklab(65.55% 0.1594 -0.1017)
OKLCHoklch(65.55% 0.189 327.5)
XYZxyz(39.4997, 25.1950, 59.2709)
Luminance0.2519 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FCB #5FCB5F
analogous
#955FCB #CB5FCB #CB5F95
triadic
#CB5FCB #CBCB5F #5FCBCB
tetradic
#CB5FCB #CB955F #5FCB5F #5F95CB
square
#CB5FCB #CB955F #5FCB5F #5F95CB
split-complementary
#CB5FCB #95CB5F #5FCB95
monochromatic
#852B85 #B33AB3 #CB5FCB #DA8DDA #E9BBE9

Accessibility & contrast

On white

3.48
#CB5FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#CB5FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FCB
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FCB#FFFFFF#000000##000000
##CB5FCB1.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5480CE
Deuteranopia (green-blind)
#768EC8
Tritanopia (blue-blind)
#D16B8C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #cb5fcb;
/* rgb */ color: rgb(203, 95, 203);
/* oklch */ color: oklch(65.6% 0.189 327.5);
Tailwind
colors: {
  custom: {
    50: '#dd91db',
    500: '#cb5fcb',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fcb;
$custom-light: #dd91db;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fcb",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 300,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.65553,
    "c": 0.18911,
    "h": 327.5
  },
  "luminance": 0.25193
}

Semantic roles & 50–950 ramp

primary
#CB5FCB
secondary
#ADD8AD
accent
#DA4D4D
background
#FDF9FD
surface
#FBF1FB
border
#D4CBD4
text
#150D15
muted
#837E83

Preview Lab

Preview with #CB5FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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