#CB85FC#CB85FC

#CB85FC is a light, vivid violet. Relative luminance 0.365; OKLCH L 73.4% C 0.179 H 309.8°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#CB85FC
RGBrgb(203, 133, 252)
HSLhsl(275, 95%, 75%)
HSVhsv(275, 47%, 99%)
CMYKcmyk(19.4%, 47.2%, 0%, 1.2%)
CIE-LABlab(66.90, 47.86, -49.15)
CIE-LCHlch(66.90, 68.60, 314.24°)
OKLaboklab(73.44% 0.1143 -0.1371)
OKLCHoklch(73.44% 0.179 309.8)
XYZxyz(50.5835, 36.5006, 96.4572)
Luminance0.3650 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB85FC #B6FC85
analogous
#8F85FC #CB85FC #FC85F2
triadic
#CB85FC #FCCB85 #85FCCB
tetradic
#CB85FC #FC8F85 #B6FC85 #85F2FC
square
#CB85FC #FC8F85 #B6FC85 #85F2FC
split-complementary
#CB85FC #F2FC85 #85FC8F
monochromatic
#980EF9 #B249FB #CB85FC #E4C1FD #F2E1FE

Accessibility & contrast

On white

2.53
#CB85FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#CB85FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB85FC
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB85FC#FFFFFF#000000##000000
##CB85FC1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#68A0FF
Deuteranopia (green-blind)
#7BA4F9
Tritanopia (blue-blind)
#C598B5
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #cb85fc;
/* rgb */ color: rgb(203, 133, 252);
/* oklch */ color: oklch(73.4% 0.179 309.8);
Tailwind
colors: {
  custom: {
    50: '#ddaafe',
    500: '#cb85fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb85fc;
$custom-light: #ddaafe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb85fc",
  "rgb": {
    "r": 203,
    "g": 133,
    "b": 252
  },
  "hsl": {
    "h": 275.294,
    "s": 95.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.73439,
    "c": 0.17852,
    "h": 309.8
  },
  "luminance": 0.365
}

Semantic roles & 50–950 ramp

primary
#CB85FC
secondary
#E3F6D5
accent
#E6005F
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CB85FC

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

Preview Lab → · Contrast checker → · Palette generator →

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