#CB95FF#CB95FF

#CB95FF is a light, vivid violet. Relative luminance 0.414; OKLCH L 76.2% C 0.156 H 306.5°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#CB95FF
RGBrgb(203, 149, 255)
HSLhsl(271, 100%, 79%)
HSVhsv(271, 42%, 100%)
CMYKcmyk(20.4%, 41.6%, 0%, 0%)
CIE-LABlab(70.46, 39.95, -45.18)
CIE-LCHlch(70.46, 60.31, 311.48°)
OKLaboklab(76.15% 0.093 -0.1257)
OKLCHoklch(76.15% 0.156 306.5)
XYZxyz(53.4224, 41.4118, 99.7673)
Luminance0.4141 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95FF #C9FF95
analogous
#9695FF #CB95FF #FF95FE
triadic
#CB95FF #FFCB95 #95FFCB
tetradic
#CB95FF #FF9695 #C9FF95 #95FEFF
square
#CB95FF #FF9695 #C9FF95 #95FEFF
split-complementary
#CB95FF #FEFF95 #95FF96
monochromatic
#8F1BFF #AD58FF #CB95FF #E9D2FF #F0E0FF

Accessibility & contrast

On white

2.26
#CB95FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#CB95FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95FF
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95FF#FFFFFF#000000##000000
##CB95FF1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CAAFF
Deuteranopia (green-blind)
#89ADFC
Tritanopia (blue-blind)
#C3A6BE
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb95ff;
/* rgb */ color: rgb(203, 149, 255);
/* oklch */ color: oklch(76.2% 0.156 306.5);
Tailwind
colors: {
  custom: {
    50: '#dcb5ff',
    500: '#cb95ff',
    950: '#000000',
  },
}
SCSS
$custom: #cb95ff;
$custom-light: #dcb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95ff",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 255
  },
  "hsl": {
    "h": 270.566,
    "s": 100,
    "l": 79.216
  },
  "oklch": {
    "l": 0.76153,
    "c": 0.15637,
    "h": 306.5
  },
  "luminance": 0.41411
}

Semantic roles & 50–950 ramp

primary
#CB95FF
secondary
#E5F7D4
accent
#E60071
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB95FF

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

Preview Lab → · Contrast checker → · Palette generator →

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