#CB95F8#CB95F8

#CB95F8 is a light, vivid violet. Relative luminance 0.410; OKLCH L 75.8% C 0.148 H 308.3°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#CB95F8
RGBrgb(203, 149, 248)
HSLhsl(273, 88%, 78%)
HSVhsv(273, 40%, 97%)
CMYKcmyk(18.1%, 39.9%, 0%, 2.7%)
CIE-LABlab(70.15, 38.41, -41.86)
CIE-LCHlch(70.15, 56.81, 312.54°)
OKLaboklab(75.82% 0.0918 -0.1161)
OKLCHoklch(75.82% 0.148 308.3)
XYZxyz(52.3161, 40.9693, 93.9406)
Luminance0.4097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95F8 #C2F895
analogous
#9995F8 #CB95F8 #F895F4
triadic
#CB95F8 #F8CB95 #95F8CB
tetradic
#CB95F8 #F89995 #C2F895 #95F4F8
square
#CB95F8 #F89995 #C2F895 #95F4F8
split-complementary
#CB95F8 #F4F895 #95F899
monochromatic
#9322F0 #AF5CF4 #CB95F8 #E7CEFC #F1E2FD

Accessibility & contrast

On white

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

On black

9.19
#CB95F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95F8
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95F8#FFFFFF#000000##000000
##CB95F81.002.289.199.19
#FFFFFF2.281.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A9FC
Deuteranopia (green-blind)
#8CACF5
Tritanopia (blue-blind)
#C5A4BB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb95f8;
/* rgb */ color: rgb(203, 149, 248);
/* oklch */ color: oklch(75.8% 0.148 308.3);
Tailwind
colors: {
  custom: {
    50: '#dcb5fb',
    500: '#cb95f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb95f8;
$custom-light: #dcb5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95f8",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 248
  },
  "hsl": {
    "h": 272.727,
    "s": 87.611,
    "l": 77.843
  },
  "oklch": {
    "l": 0.75819,
    "c": 0.14797,
    "h": 308.3
  },
  "luminance": 0.40969
}

Semantic roles & 50–950 ramp

primary
#CB95F8
secondary
#E4F5D6
accent
#E40168
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB95F8

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

Preview Lab → · Contrast checker → · Palette generator →

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