#CB95FD#CB95FD

#CB95FD is a light, vivid violet. Relative luminance 0.413; OKLCH L 76.1% C 0.154 H 307.0°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#CB95FD
RGBrgb(203, 149, 253)
HSLhsl(271, 96%, 79%)
HSVhsv(271, 41%, 99%)
CMYKcmyk(19.8%, 41.1%, 0%, 0.8%)
CIE-LABlab(70.37, 39.51, -44.23)
CIE-LCHlch(70.37, 59.31, 311.77°)
OKLaboklab(76.06% 0.0927 -0.1229)
OKLCHoklch(76.06% 0.154 307)
XYZxyz(53.1022, 41.2837, 98.0805)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95FD #C7FD95
analogous
#9795FD #CB95FD #FD95FB
triadic
#CB95FD #FDCB95 #95FDCB
tetradic
#CB95FD #FD9795 #C7FD95 #95FBFD
square
#CB95FD #FD9795 #C7FD95 #95FBFD
split-complementary
#CB95FD #FBFD95 #95FD97
monochromatic
#901DFB #AE59FC #CB95FD #E8D1FE #F0E1FE

Accessibility & contrast

On white

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

On black

9.26
#CB95FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95FD
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95FD#FFFFFF#000000##000000
##CB95FD1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb95fd;
/* rgb */ color: rgb(203, 149, 253);
/* oklch */ color: oklch(76.1% 0.154 307.0);
Tailwind
colors: {
  custom: {
    50: '#dcb5fe',
    500: '#cb95fd',
    950: '#000000',
  },
}
SCSS
$custom: #cb95fd;
$custom-light: #dcb5fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95fd",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 253
  },
  "hsl": {
    "h": 271.154,
    "s": 96.296,
    "l": 78.824
  },
  "oklch": {
    "l": 0.76057,
    "c": 0.15396,
    "h": 307
  },
  "luminance": 0.41283
}

Semantic roles & 50–950 ramp

primary
#CB95FD
secondary
#E5F7D4
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB95FD

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

Preview Lab → · Contrast checker → · Palette generator →

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