#CD6EFB#CD6EFB

#CD6EFB is a light, highly saturated purple. Relative luminance 0.311; OKLCH L 70.3% C 0.213 H 313.3°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CD6EFB
RGBrgb(205, 110, 251)
HSLhsl(280, 95%, 71%)
HSVhsv(280, 56%, 98%)
CMYKcmyk(18.3%, 56.2%, 0%, 1.6%)
CIE-LABlab(62.59, 59.87, -55.42)
CIE-LCHlch(62.59, 81.58, 317.21°)
OKLaboklab(70.29% 0.1464 -0.1552)
OKLCHoklch(70.29% 0.213 313.3)
XYZxyz(48.1624, 31.0973, 94.7134)
Luminance0.3110 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6EFB #9CFB6E
analogous
#866EFB #CD6EFB #FB6EE2
triadic
#CD6EFB #FBCD6E #6EFBCD
tetradic
#CD6EFB #FB866E #9CFB6E #6EE2FB
square
#CD6EFB #FB866E #9CFB6E #6EE2FB
split-complementary
#CD6EFB #E2FB6E #6EFB86
monochromatic
#9F06E8 #B832F9 #CD6EFB #E2AAFD #F5E1FE

Accessibility & contrast

On white

2.91
#CD6EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CD6EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6EFB
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6EFB#FFFFFF#000000##000000
##CD6EFB1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4592FF
Deuteranopia (green-blind)
#689AF7
Tritanopia (blue-blind)
#C986AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd6efb;
/* rgb */ color: rgb(205, 110, 251);
/* oklch */ color: oklch(70.3% 0.213 313.3);
Tailwind
colors: {
  custom: {
    50: '#df9bfd',
    500: '#cd6efb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6efb;
$custom-light: #df9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6efb",
  "rgb": {
    "r": 205,
    "g": 110,
    "b": 251
  },
  "hsl": {
    "h": 280.426,
    "s": 94.631,
    "l": 70.784
  },
  "oklch": {
    "l": 0.70289,
    "c": 0.21339,
    "h": 313.3
  },
  "luminance": 0.31096
}

Semantic roles & 50–950 ramp

primary
#CD6EFB
secondary
#DCF5CF
accent
#E6004B
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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