#CB95F9#CB95F9

#CB95F9 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.9% C 0.149 H 308.1°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).

Color values

HEX#CB95F9
RGBrgb(203, 149, 249)
HSLhsl(272, 89%, 78%)
HSVhsv(272, 40%, 98%)
CMYKcmyk(18.5%, 40.2%, 0%, 2.4%)
CIE-LABlab(70.20, 38.63, -42.33)
CIE-LCHlch(70.20, 57.31, 312.38°)
OKLaboklab(75.87% 0.092 -0.1175)
OKLCHoklch(75.87% 0.149 308.1)
XYZxyz(52.4717, 41.0315, 94.7598)
Luminance0.4103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95F9 #C3F995
analogous
#9995F9 #CB95F9 #F995F5
triadic
#CB95F9 #F9CB95 #95F9CB
tetradic
#CB95F9 #F99995 #C3F995 #95F5F9
square
#CB95F9 #F99995 #C3F995 #95F5F9
split-complementary
#CB95F9 #F5F995 #95F999
monochromatic
#9221F2 #AF5BF6 #CB95F9 #E7CFFC #F1E2FD

Accessibility & contrast

On white

2.28
#CB95F9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.21
#CB95F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95F9
9.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95F9#FFFFFF#000000##000000
##CB95F91.002.289.219.21
#FFFFFF2.281.0021.0021.00
#0000009.2121.001.001.00
##0000009.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA9FD
Deuteranopia (green-blind)
#8CACF6
Tritanopia (blue-blind)
#C5A4BB
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb95f9;
/* rgb */ color: rgb(203, 149, 249);
/* oklch */ color: oklch(75.9% 0.149 308.1);
Tailwind
colors: {
  custom: {
    50: '#dcb5fb',
    500: '#cb95f9',
    950: '#000000',
  },
}
SCSS
$custom: #cb95f9;
$custom-light: #dcb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95f9",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 249
  },
  "hsl": {
    "h": 272.4,
    "s": 89.286,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75866,
    "c": 0.14917,
    "h": 308.1
  },
  "luminance": 0.41031
}

Semantic roles & 50–950 ramp

primary
#CB95F9
secondary
#E4F5D6
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB95F9

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

Preview Lab → · Contrast checker → · Palette generator →

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