#CB7FEB#CB7FEB

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

Color values

HEX#CB7FEB
RGBrgb(203, 127, 235)
HSLhsl(282, 73%, 71%)
HSVhsv(282, 46%, 92%)
CMYKcmyk(13.6%, 46%, 0%, 7.8%)
CIE-LABlab(64.86, 47.43, -43.01)
CIE-LCHlch(64.86, 64.03, 317.80°)
OKLaboklab(71.66% 0.1202 -0.1193)
OKLCHoklch(71.66% 0.169 315.2)
XYZxyz(47.2110, 33.8747, 82.6326)
Luminance0.3387 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FEB #9FEB7F
analogous
#957FEB #CB7FEB #EB7FD5
triadic
#CB7FEB #EBCB7F #7FEBCB
tetradic
#CB7FEB #EB957F #9FEB7F #7FD5EB
square
#CB7FEB #EB957F #9FEB7F #7FD5EB
split-complementary
#CB7FEB #D5EB7F #7FEB95
monochromatic
#9B20CF #B54AE3 #CB7FEB #E1B4F3 #F4E5FB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB7FEB#FFFFFF#000000##000000
##CB7FEB1.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)
#6A99EF
Deuteranopia (green-blind)
#7FA0E8
Tritanopia (blue-blind)
#C98FAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cb7feb;
/* rgb */ color: rgb(203, 127, 235);
/* oklch */ color: oklch(71.7% 0.169 315.2);
Tailwind
colors: {
  custom: {
    50: '#dda6f2',
    500: '#cb7feb',
    950: '#000000',
  },
}
SCSS
$custom: #cb7feb;
$custom-light: #dda6f2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7feb",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 235
  },
  "hsl": {
    "h": 282.222,
    "s": 72.973,
    "l": 70.98
  },
  "oklch": {
    "l": 0.7166,
    "c": 0.16934,
    "h": 315.2
  },
  "luminance": 0.33873
}

Semantic roles & 50–950 ramp

primary
#CB7FEB
secondary
#DDF1D5
accent
#D5104B
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CB7FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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