#CB90FE#CB90FE

#CB90FE is a light, vivid violet. Relative luminance 0.398; OKLCH L 75.3% C 0.163 H 307.6°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).

Color values

HEX#CB90FE
RGBrgb(203, 144, 254)
HSLhsl(272, 98%, 78%)
HSVhsv(272, 43%, 100%)
CMYKcmyk(20.1%, 43.3%, 0%, 0.4%)
CIE-LABlab(69.33, 42.43, -46.42)
CIE-LCHlch(69.33, 62.89, 312.43°)
OKLaboklab(75.28% 0.0997 -0.1292)
OKLCHoklch(75.28% 0.163 307.6)
XYZxyz(52.4878, 39.7993, 98.6637)
Luminance0.3980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB90FE #C3FE90
analogous
#9490FE #CB90FE #FE90FA
triadic
#CB90FE #FECB90 #90FECB
tetradic
#CB90FE #FE9490 #C3FE90 #90FAFE
square
#CB90FE #FE9490 #C3FE90 #90FAFE
split-complementary
#CB90FE #FAFE90 #90FE94
monochromatic
#9217FD #AF53FD #CB90FE #E7CDFF #F1E1FF

Accessibility & contrast

On white

2.34
#CB90FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.96
#CB90FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB90FE
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB90FE#FFFFFF#000000##000000
##CB90FE1.002.348.968.96
#FFFFFF2.341.0021.0021.00
#0000008.9621.001.001.00
##0000008.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#85AAFB
Tritanopia (blue-blind)
#C4A2BB
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb90fe;
/* rgb */ color: rgb(203, 144, 254);
/* oklch */ color: oklch(75.3% 0.163 307.6);
Tailwind
colors: {
  custom: {
    50: '#ddb1ff',
    500: '#cb90fe',
    950: '#000000',
  },
}
SCSS
$custom: #cb90fe;
$custom-light: #ddb1ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cb90fe",
  "rgb": {
    "r": 203,
    "g": 144,
    "b": 254
  },
  "hsl": {
    "h": 272.182,
    "s": 98.214,
    "l": 78.039
  },
  "oklch": {
    "l": 0.75284,
    "c": 0.16323,
    "h": 307.6
  },
  "luminance": 0.39799
}

Semantic roles & 50–950 ramp

primary
#CB90FE
secondary
#E4F7D4
accent
#E6006A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151118
muted
#838086

Preview Lab

Preview with #CB90FE

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

Preview Lab → · Contrast checker → · Palette generator →

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