#CB99F2#CB99F2

#CB99F2 is a light, vivid violet. Relative luminance 0.419; OKLCH L 76.2% C 0.134 H 309.3°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#CB99F2
RGBrgb(203, 153, 242)
HSLhsl(274, 77%, 77%)
HSVhsv(274, 37%, 95%)
CMYKcmyk(16.1%, 36.8%, 0%, 5.1%)
CIE-LABlab(70.80, 34.94, -37.58)
CIE-LCHlch(70.80, 51.31, 312.91°)
OKLaboklab(76.22% 0.0849 -0.1038)
OKLCHoklch(76.22% 0.134 309.3)
XYZxyz(52.0439, 41.8904, 89.3311)
Luminance0.4189 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99F2 #C0F299
analogous
#9F99F2 #CB99F2 #F299EC
triadic
#CB99F2 #F2CB99 #99F2CB
tetradic
#CB99F2 #F29F99 #C0F299 #99ECF2
square
#CB99F2 #F29F99 #C0F299 #99ECF2
split-complementary
#CB99F2 #ECF299 #99F29F
monochromatic
#942CE4 #AF63EB #CB99F2 #E7CFF9 #F1E4FC

Accessibility & contrast

On white

2.24
#CB99F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.38
#CB99F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99F2
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99F2#FFFFFF#000000##000000
##CB99F21.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#88ABF5
Deuteranopia (green-blind)
#93AEEF
Tritanopia (blue-blind)
#C6A6BA
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #cb99f2;
/* rgb */ color: rgb(203, 153, 242);
/* oklch */ color: oklch(76.2% 0.134 309.3);
Tailwind
colors: {
  custom: {
    50: '#dcb7f6',
    500: '#cb99f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb99f2;
$custom-light: #dcb7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99f2",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 242
  },
  "hsl": {
    "h": 273.708,
    "s": 77.391,
    "l": 77.451
  },
  "oklch": {
    "l": 0.7622,
    "c": 0.13413,
    "h": 309.3
  },
  "luminance": 0.4189
}

Semantic roles & 50–950 ramp

primary
#CB99F2
secondary
#E4F3D8
accent
#DA0C66
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CB99F2

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

Preview Lab → · Contrast checker → · Palette generator →

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