#CB99F8#CB99F8

#CB99F8 is a light, vivid violet. Relative luminance 0.423; OKLCH L 76.5% C 0.141 H 307.6°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).

Color values

HEX#CB99F8
RGBrgb(203, 153, 248)
HSLhsl(272, 87%, 79%)
HSVhsv(272, 38%, 97%)
CMYKcmyk(18.1%, 38.3%, 0%, 2.7%)
CIE-LABlab(71.05, 36.23, -40.46)
CIE-LCHlch(71.05, 54.31, 311.85°)
OKLaboklab(76.49% 0.0862 -0.1121)
OKLCHoklch(76.49% 0.141 307.6)
XYZxyz(52.9599, 42.2568, 94.1551)
Luminance0.4226 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB99F8 #C6F899
analogous
#9B99F8 #CB99F8 #F899F5
triadic
#CB99F8 #F8CB99 #99F8CB
tetradic
#CB99F8 #F89B99 #C6F899 #99F5F8
square
#CB99F8 #F89B99 #C6F899 #99F5F8
split-complementary
#CB99F8 #F5F899 #99F89B
monochromatic
#9126F0 #AE60F4 #CB99F8 #E8D2FC #F0E2FD

Accessibility & contrast

On white

2.22
#CB99F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.45
#CB99F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB99F8
9.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB99F8#FFFFFF#000000##000000
##CB99F81.002.229.459.45
#FFFFFF2.221.0021.0021.00
#0000009.4521.001.001.00
##0000009.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#85ACFC
Deuteranopia (green-blind)
#90AFF5
Tritanopia (blue-blind)
#C5A7BD
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #cb99f8;
/* rgb */ color: rgb(203, 153, 248);
/* oklch */ color: oklch(76.5% 0.141 307.6);
Tailwind
colors: {
  custom: {
    50: '#dcb7fb',
    500: '#cb99f8',
    950: '#000000',
  },
}
SCSS
$custom: #cb99f8;
$custom-light: #dcb7fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb99f8",
  "rgb": {
    "r": 203,
    "g": 153,
    "b": 248
  },
  "hsl": {
    "h": 271.579,
    "s": 87.156,
    "l": 78.627
  },
  "oklch": {
    "l": 0.76494,
    "c": 0.14138,
    "h": 307.6
  },
  "luminance": 0.42256
}

Semantic roles & 50–950 ramp

primary
#CB99F8
secondary
#E5F5D6
accent
#E4026D
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CB99F8

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

Preview Lab → · Contrast checker → · Palette generator →

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