#CB7FEF#CB7FEF

#CB7FEF is a light, vivid purple. Relative luminance 0.341; OKLCH L 71.9% C 0.174 H 314.0°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#CB7FEF
RGBrgb(203, 127, 239)
HSLhsl(281, 78%, 72%)
HSVhsv(281, 47%, 94%)
CMYKcmyk(15.1%, 46.9%, 0%, 6.3%)
CIE-LABlab(65.05, 48.26, -44.93)
CIE-LCHlch(65.05, 65.93, 317.05°)
OKLaboklab(71.86% 0.1208 -0.1248)
OKLCHoklch(71.86% 0.174 314)
XYZxyz(47.7954, 34.1084, 85.7104)
Luminance0.3411 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FEF #A3EF7F
analogous
#937FEF #CB7FEF #EF7FDB
triadic
#CB7FEF #EFCB7F #7FEFCB
tetradic
#CB7FEF #EF937F #A3EF7F #7FDBEF
square
#CB7FEF #EF937F #A3EF7F #7FDBEF
split-complementary
#CB7FEF #DBEF7F #7FEF93
monochromatic
#9C1BD9 #B549E8 #CB7FEF #E1B5F6 #F4E4FC

Accessibility & contrast

On white

2.68
#CB7FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#CB7FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FEF
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FEF#FFFFFF#000000##000000
##CB7FEF1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#689AF3
Deuteranopia (green-blind)
#7DA0EC
Tritanopia (blue-blind)
#C890AC
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7fef;
/* rgb */ color: rgb(203, 127, 239);
/* oklch */ color: oklch(71.9% 0.174 314.0);
Tailwind
colors: {
  custom: {
    50: '#dda6f4',
    500: '#cb7fef',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fef;
$custom-light: #dda6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fef",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 239
  },
  "hsl": {
    "h": 280.714,
    "s": 77.778,
    "l": 71.765
  },
  "oklch": {
    "l": 0.71859,
    "c": 0.17369,
    "h": 314
  },
  "luminance": 0.34107
}

Semantic roles & 50–950 ramp

primary
#CB7FEF
secondary
#E0F3D7
accent
#DA0B4E
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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