#CB7FDE#CB7FDE

#CB7FDE is a light, vivid purple. Relative luminance 0.331; OKLCH L 71.0% C 0.155 H 319.4°. Best body text is #000000 at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#CB7FDE
RGBrgb(203, 127, 222)
HSLhsl(288, 59%, 68%)
HSVhsv(288, 43%, 87%)
CMYKcmyk(8.6%, 42.8%, 0%, 12.9%)
CIE-LABlab(64.28, 44.81, -36.71)
CIE-LCHlch(64.28, 57.92, 320.67°)
OKLaboklab(71.04% 0.118 -0.1011)
OKLCHoklch(71.04% 0.155 319.4)
XYZxyz(45.4011, 33.1507, 73.1002)
Luminance0.3315 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FDE #92DE7F
analogous
#9B7FDE #CB7FDE #DE7FC1
triadic
#CB7FDE #DECB7F #7FDECB
tetradic
#CB7FDE #DE9B7F #92DE7F #7FC1DE
square
#CB7FDE #DE9B7F #92DE7F #7FC1DE
split-complementary
#CB7FDE #C1DE7F #7FDE9B
monochromatic
#992EB4 #B74ED1 #CB7FDE #DFB0EB #F3E0F7

Accessibility & contrast

On white

2.75
#CB7FDE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.63
#CB7FDE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FDE
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FDE#FFFFFF#000000##000000
##CB7FDE1.002.757.637.63
#FFFFFF2.751.0021.0021.00
#0000007.6321.001.001.00
##0000007.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7197E1
Deuteranopia (green-blind)
#859FDB
Tritanopia (blue-blind)
#CC8BA4
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cb7fde;
/* rgb */ color: rgb(203, 127, 222);
/* oklch */ color: oklch(71.0% 0.155 319.4);
Tailwind
colors: {
  custom: {
    50: '#dca6e8',
    500: '#cb7fde',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fde;
$custom-light: #dca6e8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fde",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 222
  },
  "hsl": {
    "h": 288,
    "s": 59.006,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71037,
    "c": 0.15544,
    "h": 319.4
  },
  "luminance": 0.33149
}

Semantic roles & 50–950 ramp

primary
#CB7FDE
secondary
#D4EBCE
accent
#C71F40
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CB7FDE

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

Preview Lab → · Contrast checker → · Palette generator →

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