#CB5FE3#CB5FE3

#CB5FE3 is a light, highly saturated purple. Relative luminance 0.264; OKLCH L 66.8% C 0.211 H 320.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#CB5FE3
RGBrgb(203, 95, 227)
HSLhsl(289, 70%, 63%)
HSVhsv(289, 58%, 89%)
CMYKcmyk(10.6%, 58.1%, 0%, 11%)
CIE-LABlab(58.44, 61.73, -48.69)
CIE-LCHlch(58.44, 78.61, 321.74°)
OKLaboklab(66.8% 0.1616 -0.1356)
OKLCHoklch(66.8% 0.211 320)
XYZxyz(42.5842, 26.4289, 75.5163)
Luminance0.2643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB5FE3 #77E35F
analogous
#895FE3 #CB5FE3 #E35FB9
triadic
#CB5FE3 #E3CB5F #5FE3CB
tetradic
#CB5FE3 #E3895F #77E35F #5FB9E3
square
#CB5FE3 #E3895F #77E35F #5FB9E3
split-complementary
#CB5FE3 #B9E35F #5FE389
monochromatic
#901EAA #BA2BDA #CB5FE3 #DC93EC #EDC7F5

Accessibility & contrast

On white

3.34
#CB5FE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.29
#CB5FE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB5FE3
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB5FE3#FFFFFF#000000##000000
##CB5FE31.003.346.296.29
#FFFFFF3.341.0021.0021.00
#0000006.2921.001.001.00
##0000006.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4285E7
Deuteranopia (green-blind)
#6A90E0
Tritanopia (blue-blind)
#CC7498
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #cb5fe3;
/* rgb */ color: rgb(203, 95, 227);
/* oklch */ color: oklch(66.8% 0.211 320.0);
Tailwind
colors: {
  custom: {
    50: '#de92ec',
    500: '#cb5fe3',
    950: '#000000',
  },
}
SCSS
$custom: #cb5fe3;
$custom-light: #de92ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb5fe3",
  "rgb": {
    "r": 203,
    "g": 95,
    "b": 227
  },
  "hsl": {
    "h": 289.091,
    "s": 70.213,
    "l": 63.137
  },
  "oklch": {
    "l": 0.66798,
    "c": 0.21091,
    "h": 320
  },
  "luminance": 0.26427
}

Semantic roles & 50–950 ramp

primary
#CB5FE3
secondary
#C0E7B7
accent
#D21336
background
#FDF9FE
surface
#FBF2FD
border
#D4CCD5
text
#150D16
muted
#837E84

Preview Lab

Preview with #CB5FE3

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

Preview Lab → · Contrast checker → · Palette generator →

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