#CB7EE7#CB7EE7

#CB7EE7 is a light, vivid purple. Relative luminance 0.334; OKLCH L 71.3% C 0.167 H 316.5°. Best body text is #000000 at 7.68:1 contrast (WCAG AA passes).

Color values

HEX#CB7EE7
RGBrgb(203, 126, 231)
HSLhsl(284, 69%, 70%)
HSVhsv(284, 45%, 91%)
CMYKcmyk(12.1%, 45.5%, 0%, 9.4%)
CIE-LABlab(64.47, 47.14, -41.41)
CIE-LCHlch(64.47, 62.74, 318.70°)
OKLaboklab(71.31% 0.121 -0.1147)
OKLCHoklch(71.31% 0.167 316.5)
XYZxyz(46.5111, 33.3891, 79.5805)
Luminance0.3339 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EE7 #9AE77E
analogous
#977EE7 #CB7EE7 #E77ECE
triadic
#CB7EE7 #E7CB7E #7EE7CB
tetradic
#CB7EE7 #E7977E #9AE77E #7ECEE7
square
#CB7EE7 #E7977E #9AE77E #7ECEE7
split-complementary
#CB7EE7 #CEE77E #7EE797
monochromatic
#9B25C6 #B64ADD #CB7EE7 #E0B2F1 #F5E5FA

Accessibility & contrast

On white

2.74
#CB7EE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.68
#CB7EE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EE7
7.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EE7#FFFFFF#000000##000000
##CB7EE71.002.747.687.68
#FFFFFF2.741.0021.0021.00
#0000007.6821.001.001.00
##0000007.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B97EB
Deuteranopia (green-blind)
#809FE4
Tritanopia (blue-blind)
#CA8DA8
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7ee7;
/* rgb */ color: rgb(203, 126, 231);
/* oklch */ color: oklch(71.3% 0.167 316.5);
Tailwind
colors: {
  custom: {
    50: '#dda5ef',
    500: '#cb7ee7',
    950: '#000000',
  },
}
SCSS
$custom: #cb7ee7;
$custom-light: #dda5ef;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7ee7",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 231
  },
  "hsl": {
    "h": 284,
    "s": 68.627,
    "l": 70
  },
  "oklch": {
    "l": 0.71311,
    "c": 0.16667,
    "h": 316.5
  },
  "luminance": 0.33388
}

Semantic roles & 50–950 ramp

primary
#CB7EE7
secondary
#DAEFD2
accent
#D11547
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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