#CB7FEE#CB7FEE

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

Color values

HEX#CB7FEE
RGBrgb(203, 127, 238)
HSLhsl(281, 77%, 72%)
HSVhsv(281, 47%, 93%)
CMYKcmyk(14.7%, 46.6%, 0%, 6.7%)
CIE-LABlab(65.00, 48.05, -44.45)
CIE-LCHlch(65.00, 65.46, 317.23°)
OKLaboklab(71.81% 0.1206 -0.1235)
OKLCHoklch(71.81% 0.173 314.3)
XYZxyz(47.6481, 34.0495, 84.9345)
Luminance0.3405 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FEE #A2EE7F
analogous
#947FEE #CB7FEE #EE7FDA
triadic
#CB7FEE #EECB7F #7FEECB
tetradic
#CB7FEE #EE947F #A2EE7F #7FDAEE
square
#CB7FEE #EE947F #A2EE7F #7FDAEE
split-complementary
#CB7FEE #DAEE7F #7FEE94
monochromatic
#9C1CD6 #B549E7 #CB7FEE #E1B5F5 #F4E4FB

Accessibility & contrast

On white

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

On black

7.81
#CB7FEE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FEE
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FEE#FFFFFF#000000##000000
##CB7FEE1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6899F2
Deuteranopia (green-blind)
#7EA0EB
Tritanopia (blue-blind)
#C890AB
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cb7fee;
/* rgb */ color: rgb(203, 127, 238);
/* oklch */ color: oklch(71.8% 0.173 314.3);
Tailwind
colors: {
  custom: {
    50: '#dda6f4',
    500: '#cb7fee',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fee;
$custom-light: #dda6f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fee",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 238
  },
  "hsl": {
    "h": 281.081,
    "s": 76.552,
    "l": 71.569
  },
  "oklch": {
    "l": 0.71809,
    "c": 0.1726,
    "h": 314.3
  },
  "luminance": 0.34048
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FEE

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

Preview Lab → · Contrast checker → · Palette generator →

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