#CB7EED#CB7EED

#CB7EED is a light, vivid purple. Relative luminance 0.337; OKLCH L 71.6% C 0.173 H 314.7°. Best body text is #000000 at 7.75:1 contrast (WCAG AA passes).

Color values

HEX#CB7EED
RGBrgb(203, 126, 237)
HSLhsl(282, 76%, 71%)
HSVhsv(282, 47%, 93%)
CMYKcmyk(14.3%, 46.8%, 0%, 7.1%)
CIE-LABlab(64.75, 48.37, -44.29)
CIE-LCHlch(64.75, 65.58, 317.52°)
OKLaboklab(71.61% 0.1218 -0.123)
OKLCHoklch(71.61% 0.173 314.7)
XYZxyz(47.3731, 33.7339, 84.1201)
Luminance0.3373 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EED #A0ED7E
analogous
#937EED #CB7EED #ED7ED7
triadic
#CB7EED #EDCB7E #7EEDCB
tetradic
#CB7EED #ED937E #A0ED7E #7ED7ED
square
#CB7EED #ED937E #A0ED7E #7ED7ED
split-complementary
#CB7EED #D7ED7E #7EED93
monochromatic
#9B1DD3 #B548E6 #CB7EED #E1B4F4 #F4E4FB

Accessibility & contrast

On white

2.71
#CB7EED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.75
#CB7EED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EED
7.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EED#FFFFFF#000000##000000
##CB7EED1.002.717.757.75
#FFFFFF2.711.0021.0021.00
#0000007.7521.001.001.00
##0000007.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F1
Deuteranopia (green-blind)
#7D9FEA
Tritanopia (blue-blind)
#C98EAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7eed;
/* rgb */ color: rgb(203, 126, 237);
/* oklch */ color: oklch(71.6% 0.173 314.7);
Tailwind
colors: {
  custom: {
    50: '#dda5f3',
    500: '#cb7eed',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eed;
$custom-light: #dda5f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eed",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 237
  },
  "hsl": {
    "h": 281.622,
    "s": 75.51,
    "l": 71.176
  },
  "oklch": {
    "l": 0.71607,
    "c": 0.17313,
    "h": 314.7
  },
  "luminance": 0.33733
}

Semantic roles & 50–950 ramp

primary
#CB7EED
secondary
#DEF2D5
accent
#D80E4C
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7EED

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

Preview Lab → · Contrast checker → · Palette generator →

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