#CB94EB#CB94EB

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

Color values

HEX#CB94EB
RGBrgb(203, 148, 235)
HSLhsl(278, 69%, 75%)
HSVhsv(278, 37%, 92%)
CMYKcmyk(13.6%, 37%, 0%, 7.8%)
CIE-LABlab(69.38, 36.18, -35.95)
CIE-LCHlch(69.38, 51.00, 315.18°)
OKLaboklab(75.05% 0.0905 -0.0991)
OKLCHoklch(75.05% 0.134 312.4)
XYZxyz(50.2114, 39.8753, 83.6328)
Luminance0.3987 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94EB #B4EB94
analogous
#9F94EB #CB94EB #EB94E0
triadic
#CB94EB #EBCB94 #94EBCB
tetradic
#CB94EB #EB9F94 #B4EB94 #94E0EB
square
#CB94EB #EB9F94 #B4EB94 #94E0EB
split-complementary
#CB94EB #E0EB94 #94EB9F
monochromatic
#992DD8 #B260E1 #CB94EB #E4C8F5 #F2E5FA

Accessibility & contrast

On white

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

On black

8.97
#CB94EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94EB
8.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94EB#FFFFFF#000000##000000
##CB94EB1.002.348.978.97
#FFFFFF2.341.0021.0021.00
#0000008.9721.001.001.00
##0000008.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb94eb;
/* rgb */ color: rgb(203, 148, 235);
/* oklch */ color: oklch(75.1% 0.134 312.4);
Tailwind
colors: {
  custom: {
    50: '#dcb4f1',
    500: '#cb94eb',
    950: '#000000',
  },
}
SCSS
$custom: #cb94eb;
$custom-light: #dcb4f1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94eb",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 235
  },
  "hsl": {
    "h": 277.931,
    "s": 68.504,
    "l": 75.098
  },
  "oklch": {
    "l": 0.75054,
    "c": 0.13424,
    "h": 312.4
  },
  "luminance": 0.39874
}

Semantic roles & 50–950 ramp

primary
#CB94EB
secondary
#E2F2D9
accent
#D0155A
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CB94EB

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

Preview Lab → · Contrast checker → · Palette generator →

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