#CB75EC#CB75EC

#CB75EC is a light, vivid purple. Relative luminance 0.315; OKLCH L 70.2% C 0.186 H 315.9°. Best body text is #000000 at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#CB75EC
RGBrgb(203, 117, 236)
HSLhsl(283, 76%, 69%)
HSVhsv(283, 50%, 93%)
CMYKcmyk(14%, 50.4%, 0%, 7.5%)
CIE-LABlab(62.91, 52.81, -46.64)
CIE-LCHlch(62.91, 70.45, 318.55°)
OKLaboklab(70.22% 0.1339 -0.1298)
OKLCHoklch(70.22% 0.186 315.9)
XYZxyz(46.1279, 31.4766, 82.9863)
Luminance0.3147 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB75EC #96EC75
analogous
#9075EC #CB75EC #EC75D2
triadic
#CB75EC #ECCB75 #75ECCB
tetradic
#CB75EC #EC9075 #96EC75 #75D2EC
square
#CB75EC #EC9075 #96EC75 #75D2EC
split-complementary
#CB75EC #D2EC75 #75EC90
monochromatic
#9A1CCB #B73FE5 #CB75EC #DFABF3 #F4E1FB

Accessibility & contrast

On white

2.88
#CB75EC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.29
#CB75EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB75EC
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB75EC#FFFFFF#000000##000000
##CB75EC1.002.887.297.29
#FFFFFF2.881.0021.0021.00
#0000007.2921.001.001.00
##0000007.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C93F0
Deuteranopia (green-blind)
#769BE9
Tritanopia (blue-blind)
#C987A6
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cb75ec;
/* rgb */ color: rgb(203, 117, 236);
/* oklch */ color: oklch(70.2% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#dd9ff2',
    500: '#cb75ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb75ec;
$custom-light: #dd9ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb75ec",
  "rgb": {
    "r": 203,
    "g": 117,
    "b": 236
  },
  "hsl": {
    "h": 283.361,
    "s": 75.796,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70224,
    "c": 0.18647,
    "h": 315.9
  },
  "luminance": 0.31475
}

Semantic roles & 50–950 ramp

primary
#CB75EC
secondary
#D7F0CD
accent
#D80E46
background
#FDFAFE
surface
#FBF3FD
border
#D4CDD5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB75EC

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

Preview Lab → · Contrast checker → · Palette generator →

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