#CB99EF#CB99EF

#CB99EF is a light, vivid violet. Relative luminance 0.417; OKLCH L 76.1% C 0.131 H 310.2°. Best body text is #000000 at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#CB99EF
RGBrgb(203, 153, 239)
HSLhsl(275, 73%, 77%)
HSVhsv(275, 36%, 94%)
CMYKcmyk(15.1%, 36%, 0%, 6.3%)
CIE-LABlab(70.67, 34.30, -36.14)
CIE-LCHlch(70.67, 49.82, 313.50°)
OKLaboklab(76.09% 0.0843 -0.0997)
OKLCHoklch(76.09% 0.131 310.2)
XYZxyz(51.5970, 41.7116, 86.9776)
Luminance0.4171 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99EF #BDEF99
analogous
#A099EF #CB99EF #EF99E8
triadic
#CB99EF #EFCB99 #99EFCB
tetradic
#CB99EF #EFA099 #BDEF99 #99E8EF
square
#CB99EF #EFA099 #BDEF99 #99E8EF
split-complementary
#CB99EF #E8EF99 #99EFA0
monochromatic
#952FDE #B064E7 #CB99EF #E6CEF7 #F2E5FB

Accessibility & contrast

On white

2.25
#CB99EF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.34
#CB99EF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99EF
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99EF#FFFFFF#000000##000000
##CB99EF1.002.259.349.34
#FFFFFF2.251.0021.0021.00
#0000009.3421.001.001.00
##0000009.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AAF2
Deuteranopia (green-blind)
#94AEED
Tritanopia (blue-blind)
#C7A5B9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb99ef;
/* rgb */ color: rgb(203, 153, 239);
/* oklch */ color: oklch(76.1% 0.131 310.2);
Tailwind
colors: {
  custom: {
    50: '#dcb7f4',
    500: '#cb99ef',
    950: '#000000',
  },
}
SCSS
$custom: #cb99ef;
$custom-light: #dcb7f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99ef",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 239
  },
  "hsl": {
    "h": 274.884,
    "s": 72.881,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76086,
    "c": 0.13053,
    "h": 310.2
  },
  "luminance": 0.41711
}

Semantic roles & 50–950 ramp

primary
#CB99EF
secondary
#E3F3D8
accent
#D51163
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB99EF

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

Preview Lab → · Contrast checker → · Palette generator →

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