#CB95F2#CB95F2

#CB95F2 is a light, vivid violet. Relative luminance 0.406; OKLCH L 75.5% C 0.141 H 310.0°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#CB95F2
RGBrgb(203, 149, 242)
HSLhsl(275, 78%, 77%)
HSVhsv(275, 38%, 95%)
CMYKcmyk(16.1%, 38.4%, 0%, 5.1%)
CIE-LABlab(69.90, 37.12, -38.98)
CIE-LCHlch(69.90, 53.83, 313.59°)
OKLaboklab(75.54% 0.0906 -0.1078)
OKLCHoklch(75.54% 0.141 310)
XYZxyz(51.4002, 40.6029, 89.1166)
Luminance0.4060 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB95F2 #BCF295
analogous
#9D95F2 #CB95F2 #F295EA
triadic
#CB95F2 #F2CB95 #95F2CB
tetradic
#CB95F2 #F29D95 #BCF295 #95EAF2
square
#CB95F2 #F29D95 #BCF295 #95EAF2
split-complementary
#CB95F2 #EAF295 #95F29D
monochromatic
#9628E5 #B05EEB #CB95F2 #E6CCF9 #F2E4FC

Accessibility & contrast

On white

2.30
#CB95F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.12
#CB95F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB95F2
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB95F2#FFFFFF#000000##000000
##CB95F21.002.309.129.12
#FFFFFF2.301.0021.0021.00
#0000009.1221.001.001.00
##0000009.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A8F5
Deuteranopia (green-blind)
#8FACEF
Tritanopia (blue-blind)
#C7A3B8
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #cb95f2;
/* rgb */ color: rgb(203, 149, 242);
/* oklch */ color: oklch(75.5% 0.141 310.0);
Tailwind
colors: {
  custom: {
    50: '#dcb5f6',
    500: '#cb95f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb95f2;
$custom-light: #dcb5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb95f2",
  "rgb": {
    "r": 203,
    "g": 149,
    "b": 242
  },
  "hsl": {
    "h": 274.839,
    "s": 78.151,
    "l": 76.667
  },
  "oklch": {
    "l": 0.7554,
    "c": 0.14082,
    "h": 310
  },
  "luminance": 0.40602
}

Semantic roles & 50–950 ramp

primary
#CB95F2
secondary
#E3F3D8
accent
#DA0B62
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CB95F2

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

Preview Lab → · Contrast checker → · Palette generator →

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