#CB7FED#CB7FED

#CB7FED is a light, vivid purple. Relative luminance 0.340; OKLCH L 71.8% C 0.172 H 314.6°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CB7FED
RGBrgb(203, 127, 237)
HSLhsl(281, 75%, 71%)
HSVhsv(281, 46%, 93%)
CMYKcmyk(14.3%, 46.4%, 0%, 7.1%)
CIE-LABlab(64.96, 47.84, -43.97)
CIE-LCHlch(64.96, 64.98, 317.42°)
OKLaboklab(71.76% 0.1205 -0.1221)
OKLCHoklch(71.76% 0.172 314.6)
XYZxyz(47.5016, 33.9909, 84.1630)
Luminance0.3399 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FED #A1ED7F
analogous
#947FED #CB7FED #ED7FD8
triadic
#CB7FED #EDCB7F #7FEDCB
tetradic
#CB7FED #ED947F #A1ED7F #7FD8ED
square
#CB7FED #ED947F #A1ED7F #7FD8ED
split-complementary
#CB7FED #D8ED7F #7FED94
monochromatic
#9C1ED4 #B549E5 #CB7FED #E1B5F5 #F4E4FB

Accessibility & contrast

On white

2.69
#CB7FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CB7FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FED
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FED#FFFFFF#000000##000000
##CB7FED1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6999F1
Deuteranopia (green-blind)
#7EA0EA
Tritanopia (blue-blind)
#C98FAB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7fed;
/* rgb */ color: rgb(203, 127, 237);
/* oklch */ color: oklch(71.8% 0.172 314.6);
Tailwind
colors: {
  custom: {
    50: '#dda6f3',
    500: '#cb7fed',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fed;
$custom-light: #dda6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fed",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 281.455,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71759,
    "c": 0.17151,
    "h": 314.6
  },
  "luminance": 0.3399
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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