#CD6FEF#CD6FEF

#CD6FEF is a light, vivid purple. Relative luminance 0.306; OKLCH L 69.8% C 0.200 H 316.3°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CD6FEF
RGBrgb(205, 111, 239)
HSLhsl(284, 80%, 69%)
HSVhsv(284, 54%, 94%)
CMYKcmyk(14.2%, 53.6%, 0%, 6.3%)
CIE-LABlab(62.15, 56.94, -49.48)
CIE-LCHlch(62.15, 75.44, 319.01°)
OKLaboklab(69.77% 0.1444 -0.1379)
OKLCHoklch(69.77% 0.2 316.3)
XYZxyz(46.4389, 30.5815, 85.1012)
Luminance0.3058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6FEF #91EF6F
analogous
#8D6FEF #CD6FEF #EF6FD1
triadic
#CD6FEF #EFCD6F #6FEFCD
tetradic
#CD6FEF #EF8D6F #91EF6F #6FD1EF
square
#CD6FEF #EF8D6F #91EF6F #6FD1EF
split-complementary
#CD6FEF #D1EF6F #6FEF8D
monochromatic
#9C17CD #BA38E9 #CD6FEF #E0A6F5 #F3DDFB

Accessibility & contrast

On white

2.95
#CD6FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CD6FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6FEF
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6FEF#FFFFFF#000000##000000
##CD6FEF1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5290F3
Deuteranopia (green-blind)
#7199EC
Tritanopia (blue-blind)
#CB83A5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cd6fef;
/* rgb */ color: rgb(205, 111, 239);
/* oklch */ color: oklch(69.8% 0.200 316.3);
Tailwind
colors: {
  custom: {
    50: '#df9cf5',
    500: '#cd6fef',
    950: '#000000',
  },
}
SCSS
$custom: #cd6fef;
$custom-light: #df9cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6fef",
  "rgb": {
    "r": 205,
    "g": 111,
    "b": 239
  },
  "hsl": {
    "h": 284.063,
    "s": 80,
    "l": 68.627
  },
  "oklch": {
    "l": 0.69767,
    "c": 0.19972,
    "h": 316.3
  },
  "luminance": 0.3058
}

Semantic roles & 50–950 ramp

primary
#CD6FEF
secondary
#D4F0CA
accent
#DC0941
background
#FEF9FF
surface
#FCF2FE
border
#D5CCD6
text
#150E17
muted
#847E85

Preview Lab

Preview with #CD6FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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