#CB7EE3#CB7EE3

#CB7EE3 is a light, vivid purple. Relative luminance 0.332; OKLCH L 71.1% C 0.162 H 317.8°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CB7EE3
RGBrgb(203, 126, 227)
HSLhsl(286, 64%, 69%)
HSVhsv(286, 44%, 89%)
CMYKcmyk(10.6%, 44.5%, 0%, 11%)
CIE-LABlab(64.29, 46.33, -39.47)
CIE-LCHlch(64.29, 60.86, 319.57°)
OKLaboklab(71.12% 0.1203 -0.1091)
OKLCHoklch(71.12% 0.162 317.8)
XYZxyz(45.9527, 33.1657, 76.6391)
Luminance0.3316 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EE3 #96E37E
analogous
#997EE3 #CB7EE3 #E37EC8
triadic
#CB7EE3 #E3CB7E #7EE3CB
tetradic
#CB7EE3 #E3997E #96E37E #7EC8E3
square
#CB7EE3 #E3997E #96E37E #7EC8E3
split-complementary
#CB7EE3 #C8E37E #7EE399
monochromatic
#9A29BD #B74CD8 #CB7EE3 #DFB0EE #F4E3F9

Accessibility & contrast

On white

2.75
#CB7EE3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CB7EE3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EE3
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EE3#FFFFFF#000000##000000
##CB7EE31.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D97E7
Deuteranopia (green-blind)
#829EE0
Tritanopia (blue-blind)
#CB8CA6
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7ee3;
/* rgb */ color: rgb(203, 126, 227);
/* oklch */ color: oklch(71.1% 0.162 317.8);
Tailwind
colors: {
  custom: {
    50: '#dca5ec',
    500: '#cb7ee3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ee3;
$custom-light: #dca5ec;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ee3",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 227
  },
  "hsl": {
    "h": 285.743,
    "s": 64.331,
    "l": 69.216
  },
  "oklch": {
    "l": 0.71118,
    "c": 0.1624,
    "h": 317.8
  },
  "luminance": 0.33164
}

Semantic roles & 50–950 ramp

primary
#CB7EE3
secondary
#D7EDD0
accent
#CC1944
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7EE3

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

Preview Lab → · Contrast checker → · Palette generator →

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