#CB94E2#CB94E2

#CB94E2 is a light, vivid purple. Relative luminance 0.394; OKLCH L 74.7% C 0.124 H 315.6°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).

Color values

HEX#CB94E2
RGBrgb(203, 148, 226)
HSLhsl(282, 57%, 73%)
HSVhsv(282, 35%, 89%)
CMYKcmyk(10.2%, 34.5%, 0%, 11.4%)
CIE-LABlab(69.02, 34.31, -31.57)
CIE-LCHlch(69.02, 46.63, 317.38°)
OKLaboklab(74.66% 0.0885 -0.0866)
OKLCHoklch(74.66% 0.124 315.6)
XYZxyz(48.9439, 39.3683, 76.9573)
Luminance0.3937 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB94E2 #ABE294
analogous
#A494E2 #CB94E2 #E294D2
triadic
#CB94E2 #E2CB94 #94E2CB
tetradic
#CB94E2 #E2A494 #ABE294 #94D2E2
square
#CB94E2 #E2A494 #ABE294 #94D2E2
split-complementary
#CB94E2 #D2E294 #94E2A4
monochromatic
#9B36C6 #B464D5 #CB94E2 #E2C4EF #F3E7F8

Accessibility & contrast

On white

2.37
#CB94E2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.87
#CB94E2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB94E2
8.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB94E2#FFFFFF#000000##000000
##CB94E21.002.378.878.87
#FFFFFF2.371.0021.0021.00
#0000008.8721.001.001.00
##0000008.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#88A5E5
Deuteranopia (green-blind)
#95AAE0
Tritanopia (blue-blind)
#CA9EB1
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #cb94e2;
/* rgb */ color: rgb(203, 148, 226);
/* oklch */ color: oklch(74.7% 0.124 315.6);
Tailwind
colors: {
  custom: {
    50: '#dcb4eb',
    500: '#cb94e2',
    950: '#000000',
  },
}
SCSS
$custom: #cb94e2;
$custom-light: #dcb4eb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb94e2",
  "rgb": {
    "r": 203,
    "g": 148,
    "b": 226
  },
  "hsl": {
    "h": 282.308,
    "s": 57.353,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74659,
    "c": 0.12381,
    "h": 315.6
  },
  "luminance": 0.39367
}

Semantic roles & 50–950 ramp

primary
#CB94E2
secondary
#E1F0DB
accent
#C52151
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151116
muted
#838084

Preview Lab

Preview with #CB94E2

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

Preview Lab → · Contrast checker → · Palette generator →

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