#CB95FC#CB95FC

#CB95FC is a light, vivid violet. Relative luminance 0.412; OKLCH L 76.0% C 0.153 H 307.3°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#CB95FC
RGBrgb(203, 149, 252)
HSLhsl(271, 94%, 79%)
HSVhsv(271, 41%, 99%)
CMYKcmyk(19.4%, 40.9%, 0%, 1.2%)
CIE-LABlab(70.33, 39.28, -43.76)
CIE-LCHlch(70.33, 58.81, 311.92°)
OKLaboklab(76.01% 0.0925 -0.1216)
OKLCHoklch(76.01% 0.153 307.3)
XYZxyz(52.9433, 41.2202, 97.2438)
Luminance0.4122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95FC #C6FC95
analogous
#9795FC #CB95FC #FC95FA
triadic
#CB95FC #FCCB95 #95FCCB
tetradic
#CB95FC #FC9795 #C6FC95 #95FAFC
square
#CB95FC #FC9795 #C6FC95 #95FAFC
split-complementary
#CB95FC #FAFC95 #95FC97
monochromatic
#911EF9 #AE59FA #CB95FC #E8D1FE #F0E1FE

Accessibility & contrast

On white

2.27
#CB95FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#CB95FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95FC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95FC#FFFFFF#000000##000000
##CB95FC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7EAAFF
Deuteranopia (green-blind)
#8AADF9
Tritanopia (blue-blind)
#C4A5BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb95fc;
/* rgb */ color: rgb(203, 149, 252);
/* oklch */ color: oklch(76.0% 0.153 307.3);
Tailwind
colors: {
  custom: {
    50: '#dcb5fe',
    500: '#cb95fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb95fc;
$custom-light: #dcb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95fc",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 252
  },
  "hsl": {
    "h": 271.456,
    "s": 94.495,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76009,
    "c": 0.15276,
    "h": 307.3
  },
  "luminance": 0.4122
}

Semantic roles & 50–950 ramp

primary
#CB95FC
secondary
#E5F6D5
accent
#E6006D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB95FC

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

Preview Lab → · Contrast checker → · Palette generator →

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