#CB94EC#CB94EC

#CB94EC is a light, vivid violet. Relative luminance 0.399; OKLCH L 75.1% C 0.135 H 312.1°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#CB94EC
RGBrgb(203, 148, 236)
HSLhsl(278, 70%, 75%)
HSVhsv(278, 37%, 93%)
CMYKcmyk(14%, 37.3%, 0%, 7.5%)
CIE-LABlab(69.42, 36.39, -36.44)
CIE-LCHlch(69.42, 51.49, 314.96°)
OKLaboklab(75.1% 0.0908 -0.1005)
OKLCHoklch(75.1% 0.135 312.1)
XYZxyz(50.3562, 39.9333, 84.3958)
Luminance0.3993 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94EC #B5EC94
analogous
#9F94EC #CB94EC #EC94E1
triadic
#CB94EC #ECCB94 #94ECCB
tetradic
#CB94EC #EC9F94 #B5EC94 #94E1EC
square
#CB94EC #EC9F94 #B5EC94 #94E1EC
split-complementary
#CB94EC #E1EC94 #94EC9F
monochromatic
#982CDA #B260E3 #CB94EC #E4C8F5 #F2E5FA

Accessibility & contrast

On white

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

On black

8.99
#CB94EC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94EC
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94EC#FFFFFF#000000##000000
##CB94EC1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A7EF
Deuteranopia (green-blind)
#91ABE9
Tritanopia (blue-blind)
#C8A0B5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cb94ec;
/* rgb */ color: rgb(203, 148, 236);
/* oklch */ color: oklch(75.1% 0.135 312.1);
Tailwind
colors: {
  custom: {
    50: '#dcb4f2',
    500: '#cb94ec',
    950: '#000000',
  },
}
SCSS
$custom: #cb94ec;
$custom-light: #dcb4f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94ec",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 236
  },
  "hsl": {
    "h": 277.5,
    "s": 69.841,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75099,
    "c": 0.13542,
    "h": 312.1
  },
  "luminance": 0.39932
}

Semantic roles & 50–950 ramp

primary
#CB94EC
secondary
#E2F2D9
accent
#D2145B
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB94EC

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

Preview Lab → · Contrast checker → · Palette generator →

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