#CB90FC#CB90FC

#CB90FC is a light, vivid violet. Relative luminance 0.397; OKLCH L 75.2% C 0.161 H 308.1°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#CB90FC
RGBrgb(203, 144, 252)
HSLhsl(273, 95%, 78%)
HSVhsv(273, 43%, 99%)
CMYKcmyk(19.4%, 42.9%, 0%, 1.2%)
CIE-LABlab(69.24, 41.99, -45.48)
CIE-LCHlch(69.24, 61.90, 312.72°)
OKLaboklab(75.19% 0.0994 -0.1265)
OKLCHoklch(75.19% 0.161 308.1)
XYZxyz(52.1692, 39.6719, 96.9857)
Luminance0.3967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB90FC #C1FC90
analogous
#9590FC #CB90FC #FC90F7
triadic
#CB90FC #FCCB90 #90FCCB
tetradic
#CB90FC #FC9590 #C1FC90 #90F7FC
square
#CB90FC #FC9590 #C1FC90 #90F7FC
split-complementary
#CB90FC #F7FC90 #90FC95
monochromatic
#9319F9 #AF54FA #CB90FC #E7CCFE #F1E1FE

Accessibility & contrast

On white

2.35
#CB90FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#CB90FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB90FC
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB90FC#FFFFFF#000000##000000
##CB90FC1.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#86AAF9
Tritanopia (blue-blind)
#C4A1BA
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb90fc;
/* rgb */ color: rgb(203, 144, 252);
/* oklch */ color: oklch(75.2% 0.161 308.1);
Tailwind
colors: {
  custom: {
    50: '#dcb1fe',
    500: '#cb90fc',
    950: '#000000',
  },
}
SCSS
$custom: #cb90fc;
$custom-light: #dcb1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cb90fc",
  "rgb": {
    "r": 203,
    "g": 144,
    "b": 252
  },
  "hsl": {
    "h": 272.778,
    "s": 94.737,
    "l": 77.647
  },
  "oklch": {
    "l": 0.75186,
    "c": 0.16088,
    "h": 308.1
  },
  "luminance": 0.39671
}

Semantic roles & 50–950 ramp

primary
#CB90FC
secondary
#E4F6D5
accent
#E60068
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB90FC

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

Preview Lab → · Contrast checker → · Palette generator →

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