#CB90F2#CB90F2

#CB90F2 is a light, vivid violet. Relative luminance 0.391; OKLCH L 74.7% C 0.149 H 310.9°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).

Color values

HEX#CB90F2
RGBrgb(203, 144, 242)
HSLhsl(276, 79%, 76%)
HSVhsv(276, 40%, 95%)
CMYKcmyk(16.1%, 40.5%, 0%, 5.1%)
CIE-LABlab(68.79, 39.83, -40.71)
CIE-LCHlch(68.79, 56.95, 314.37°)
OKLaboklab(74.71% 0.0976 -0.1128)
OKLCHoklch(74.71% 0.149 310.9)
XYZxyz(50.6260, 39.0546, 88.8585)
Luminance0.3905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB90F2 #B7F290
analogous
#9A90F2 #CB90F2 #F290E8
triadic
#CB90F2 #F2CB90 #90F2CB
tetradic
#CB90F2 #F29A90 #B7F290 #90E8F2
square
#CB90F2 #F29A90 #B7F290 #90E8F2
split-complementary
#CB90F2 #E8F290 #90F29A
monochromatic
#9822E5 #B159EC #CB90F2 #E5C7F8 #F2E4FC

Accessibility & contrast

On white

2.38
#CB90F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.81
#CB90F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB90F2
8.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB90F2#FFFFFF#000000##000000
##CB90F21.002.388.818.81
#FFFFFF2.381.0021.0021.00
#0000008.8121.001.001.00
##0000008.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#8BA9EF
Tritanopia (blue-blind)
#C79EB6
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb90f2;
/* rgb */ color: rgb(203, 144, 242);
/* oklch */ color: oklch(74.7% 0.149 310.9);
Tailwind
colors: {
  custom: {
    50: '#dcb1f6',
    500: '#cb90f2',
    950: '#000000',
  },
}
SCSS
$custom: #cb90f2;
$custom-light: #dcb1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb90f2",
  "rgb": {
    "r": 203,
    "g": 144,
    "b": 242
  },
  "hsl": {
    "h": 276.122,
    "s": 79.032,
    "l": 75.686
  },
  "oklch": {
    "l": 0.74706,
    "c": 0.14915,
    "h": 310.9
  },
  "luminance": 0.39054
}

Semantic roles & 50–950 ramp

primary
#CB90F2
secondary
#E3F4D7
accent
#DB0A5D
background
#FDFBFF
surface
#FBF6FE
border
#D4D0D6
text
#151117
muted
#838085

Preview Lab

Preview with #CB90F2

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

Preview Lab → · Contrast checker → · Palette generator →

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