#CB94EE#CB94EE

#CB94EE is a light, vivid violet. Relative luminance 0.400; OKLCH L 75.2% C 0.138 H 311.4°. Best body text is #000000 at 9.01:1 contrast (WCAG AA passes).

Color values

HEX#CB94EE
RGBrgb(203, 148, 238)
HSLhsl(277, 73%, 76%)
HSVhsv(277, 38%, 93%)
CMYKcmyk(14.7%, 37.8%, 0%, 6.7%)
CIE-LABlab(69.51, 36.81, -37.40)
CIE-LCHlch(69.51, 52.48, 314.54°)
OKLaboklab(75.19% 0.0912 -0.1033)
OKLCHoklch(75.19% 0.138 311.4)
XYZxyz(50.6484, 40.0502, 85.9347)
Luminance0.4005 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94EE #B7EE94
analogous
#9E94EE #CB94EE #EE94E4
triadic
#CB94EE #EECB94 #94EECB
tetradic
#CB94EE #EE9E94 #B7EE94 #94E4EE
square
#CB94EE #EE9E94 #B7EE94 #94E4EE
split-complementary
#CB94EE #E4EE94 #94EE9E
monochromatic
#982ADD #B15FE6 #CB94EE #E5C9F6 #F2E5FB

Accessibility & contrast

On white

2.33
#CB94EE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.01
#CB94EE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94EE
9.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94EE#FFFFFF#000000##000000
##CB94EE1.002.339.019.01
#FFFFFF2.331.0021.0021.00
#0000009.0121.001.001.00
##0000009.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#83A7F1
Deuteranopia (green-blind)
#90ABEB
Tritanopia (blue-blind)
#C7A1B6
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #cb94ee;
/* rgb */ color: rgb(203, 148, 238);
/* oklch */ color: oklch(75.2% 0.138 311.4);
Tailwind
colors: {
  custom: {
    50: '#dcb4f4',
    500: '#cb94ee',
    950: '#000000',
  },
}
SCSS
$custom: #cb94ee;
$custom-light: #dcb4f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94ee",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 238
  },
  "hsl": {
    "h": 276.667,
    "s": 72.581,
    "l": 75.686
  },
  "oklch": {
    "l": 0.75189,
    "c": 0.13777,
    "h": 311.4
  },
  "luminance": 0.40049
}

Semantic roles & 50–950 ramp

primary
#CB94EE
secondary
#E3F2D9
accent
#D5115D
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB94EE

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

Preview Lab → · Contrast checker → · Palette generator →

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