#CD6DFB#CD6DFB

#CD6DFB is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.2% C 0.215 H 313.4°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#CD6DFB
RGBrgb(205, 109, 251)
HSLhsl(281, 95%, 71%)
HSVhsv(281, 57%, 98%)
CMYKcmyk(18.3%, 56.6%, 0%, 1.6%)
CIE-LABlab(62.41, 60.36, -55.71)
CIE-LCHlch(62.41, 82.14, 317.29°)
OKLaboklab(70.16% 0.1477 -0.1561)
OKLCHoklch(70.16% 0.215 313.4)
XYZxyz(48.0551, 30.8828, 94.6776)
Luminance0.3088 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6DFB #9BFB6D
analogous
#866DFB #CD6DFB #FB6DE2
triadic
#CD6DFB #FBCD6D #6DFBCD
tetradic
#CD6DFB #FB866D #9BFB6D #6DE2FB
square
#CD6DFB #FB866D #9BFB6D #6DE2FB
split-complementary
#CD6DFB #E2FB6D #6DFB86
monochromatic
#9E06E7 #B931F9 #CD6DFB #E1A9FD #F5E1FE

Accessibility & contrast

On white

2.93
#CD6DFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#CD6DFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6DFB
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6DFB#FFFFFF#000000##000000
##CD6DFB1.002.937.187.18
#FFFFFF2.931.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4392FF
Deuteranopia (green-blind)
#6799F7
Tritanopia (blue-blind)
#C986AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cd6dfb;
/* rgb */ color: rgb(205, 109, 251);
/* oklch */ color: oklch(70.2% 0.215 313.4);
Tailwind
colors: {
  custom: {
    50: '#df9bfd',
    500: '#cd6dfb',
    950: '#000000',
  },
}
SCSS
$custom: #cd6dfb;
$custom-light: #df9bfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6dfb",
  "rgb": {
    "r": 205,
    "g": 109,
    "b": 251
  },
  "hsl": {
    "h": 280.563,
    "s": 94.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70156,
    "c": 0.21485,
    "h": 313.4
  },
  "luminance": 0.30881
}

Semantic roles & 50–950 ramp

primary
#CD6DFB
secondary
#DBF5CF
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6DFB

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

Preview Lab → · Contrast checker → · Palette generator →

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