#CB7EEF#CB7EEF

#CB7EEF is a light, vivid purple. Relative luminance 0.339; OKLCH L 71.7% C 0.175 H 314.2°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#CB7EEF
RGBrgb(203, 126, 239)
HSLhsl(281, 78%, 72%)
HSVhsv(281, 47%, 94%)
CMYKcmyk(15.1%, 47.3%, 0%, 6.3%)
CIE-LABlab(64.84, 48.78, -45.25)
CIE-LCHlch(64.84, 66.54, 317.15°)
OKLaboklab(71.71% 0.1221 -0.1258)
OKLCHoklch(71.71% 0.175 314.2)
XYZxyz(47.6669, 33.8514, 85.6676)
Luminance0.3385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7EEF #A2EF7E
analogous
#937EEF #CB7EEF #EF7EDB
triadic
#CB7EEF #EFCB7E #7EEFCB
tetradic
#CB7EEF #EF937E #A2EF7E #7EDBEF
square
#CB7EEF #EF937E #A2EF7E #7EDBEF
split-complementary
#CB7EEF #DBEF7E #7EEF93
monochromatic
#9C1BD8 #B548E8 #CB7EEF #E1B4F6 #F4E4FC

Accessibility & contrast

On white

2.70
#CB7EEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#CB7EEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7EEF
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7EEF#FFFFFF#000000##000000
##CB7EEF1.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#6699F3
Deuteranopia (green-blind)
#7C9FEC
Tritanopia (blue-blind)
#C88FAB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7eef;
/* rgb */ color: rgb(203, 126, 239);
/* oklch */ color: oklch(71.7% 0.175 314.2);
Tailwind
colors: {
  custom: {
    50: '#dda5f4',
    500: '#cb7eef',
    950: '#000000',
  },
}
SCSS
$custom: #cb7eef;
$custom-light: #dda5f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7eef",
  "rgb": {
    "r": 203,
    "g": 126,
    "b": 239
  },
  "hsl": {
    "h": 280.885,
    "s": 77.931,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71707,
    "c": 0.1753,
    "h": 314.2
  },
  "luminance": 0.3385
}

Semantic roles & 50–950 ramp

primary
#CB7EEF
secondary
#DFF3D6
accent
#DA0B4D
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7EEF

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

Preview Lab → · Contrast checker → · Palette generator →

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