#CB95FE#CB95FE

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

Color values

HEX#CB95FE
RGBrgb(203, 149, 254)
HSLhsl(271, 98%, 79%)
HSVhsv(271, 41%, 100%)
CMYKcmyk(20.1%, 41.3%, 0%, 0.4%)
CIE-LABlab(70.42, 39.73, -44.71)
CIE-LCHlch(70.42, 59.81, 311.62°)
OKLaboklab(76.11% 0.0929 -0.1243)
OKLCHoklch(76.11% 0.155 306.8)
XYZxyz(53.2619, 41.3476, 98.9217)
Luminance0.4135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95FE #C8FE95
analogous
#9795FE #CB95FE #FE95FD
triadic
#CB95FE #FECB95 #95FECB
tetradic
#CB95FE #FE9795 #C8FE95 #95FDFE
square
#CB95FE #FE9795 #C8FE95 #95FDFE
split-complementary
#CB95FE #FDFE95 #95FE97
monochromatic
#901CFD #AD58FD #CB95FE #E9D2FF #F0E1FF

Accessibility & contrast

On white

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

On black

9.27
#CB95FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95FE
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95FE#FFFFFF#000000##000000
##CB95FE1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DAAFF
Deuteranopia (green-blind)
#89ADFB
Tritanopia (blue-blind)
#C4A6BD
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #cb95fe;
/* rgb */ color: rgb(203, 149, 254);
/* oklch */ color: oklch(76.1% 0.155 306.8);
Tailwind
colors: {
  custom: {
    50: '#dcb5ff',
    500: '#cb95fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb95fe;
$custom-light: #dcb5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95fe",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 254
  },
  "hsl": {
    "h": 270.857,
    "s": 98.131,
    "l": 79.02
  },
  "oklch": {
    "l": 0.76105,
    "c": 0.15516,
    "h": 306.8
  },
  "luminance": 0.41347
}

Semantic roles & 50–950 ramp

primary
#CB95FE
secondary
#E5F7D4
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB95FE

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

Preview Lab → · Contrast checker → · Palette generator →

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