#CB95FB#CB95FB

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

Color values

HEX#CB95FB
RGBrgb(203, 149, 251)
HSLhsl(272, 93%, 78%)
HSVhsv(272, 41%, 98%)
CMYKcmyk(19.1%, 40.6%, 0%, 1.6%)
CIE-LABlab(70.29, 39.07, -43.28)
CIE-LCHlch(70.29, 58.31, 312.07°)
OKLaboklab(75.96% 0.0923 -0.1202)
OKLCHoklch(75.96% 0.152 307.5)
XYZxyz(52.7853, 41.1569, 96.4114)
Luminance0.4116 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95FB #C5FB95
analogous
#9895FB #CB95FB #FB95F8
triadic
#CB95FB #FBCB95 #95FBCB
tetradic
#CB95FB #FB9895 #C5FB95 #95F8FB
square
#CB95FB #FB9895 #C5FB95 #95F8FB
split-complementary
#CB95FB #F8FB95 #95FB98
monochromatic
#911FF7 #AE5AF9 #CB95FB #E8D0FD #F1E2FE

Accessibility & contrast

On white

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

On black

9.23
#CB95FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95FB
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95FB#FFFFFF#000000##000000
##CB95FB1.002.279.239.23
#FFFFFF2.271.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb95fb;
/* rgb */ color: rgb(203, 149, 251);
/* oklch */ color: oklch(76.0% 0.152 307.5);
Tailwind
colors: {
  custom: {
    50: '#dcb5fd',
    500: '#cb95fb',
    950: '#000000',
  },
}
SCSS
$custom: #cb95fb;
$custom-light: #dcb5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95fb",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 251
  },
  "hsl": {
    "h": 271.765,
    "s": 92.727,
    "l": 78.431
  },
  "oklch": {
    "l": 0.75961,
    "c": 0.15156,
    "h": 307.5
  },
  "luminance": 0.41156
}

Semantic roles & 50–950 ramp

primary
#CB95FB
secondary
#E5F6D5
accent
#E6006C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB95FB

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

Preview Lab → · Contrast checker → · Palette generator →

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