#CD6EFD#CD6EFD

#CD6EFD is a light, highly saturated violet. Relative luminance 0.312; OKLCH L 70.4% C 0.215 H 312.8°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#CD6EFD
RGBrgb(205, 110, 253)
HSLhsl(280, 97%, 71%)
HSVhsv(280, 57%, 99%)
CMYKcmyk(19%, 56.5%, 0%, 0.8%)
CIE-LABlab(62.70, 60.28, -56.35)
CIE-LCHlch(62.70, 82.52, 316.93°)
OKLaboklab(70.4% 0.1465 -0.1579)
OKLCHoklch(70.4% 0.215 312.8)
XYZxyz(48.4793, 31.2241, 96.3825)
Luminance0.3122 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6EFD #9EFD6E
analogous
#856EFD #CD6EFD #FD6EE5
triadic
#CD6EFD #FDCD6E #6EFDCD
tetradic
#CD6EFD #FD856E #9EFD6E #6EE5FD
square
#CD6EFD #FD856E #9EFD6E #6EE5FD
split-complementary
#CD6EFD #E5FD6E #6EFD85
monochromatic
#9F03ED #B832FC #CD6EFD #E2AAFE #F5E1FF

Accessibility & contrast

On white

2.90
#CD6EFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#CD6EFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6EFD
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6EFD#FFFFFF#000000##000000
##CD6EFD1.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4393FF
Deuteranopia (green-blind)
#679AF9
Tritanopia (blue-blind)
#C887AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd6efd;
/* rgb */ color: rgb(205, 110, 253);
/* oklch */ color: oklch(70.4% 0.215 312.8);
Tailwind
colors: {
  custom: {
    50: '#df9bff',
    500: '#cd6efd',
    950: '#000000',
  },
}
SCSS
$custom: #cd6efd;
$custom-light: #df9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6efd",
  "rgb": {
    "r": 205,
    "g": 110,
    "b": 253
  },
  "hsl": {
    "h": 279.86,
    "s": 97.279,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70401,
    "c": 0.21542,
    "h": 312.8
  },
  "luminance": 0.31223
}

Semantic roles & 50–950 ramp

primary
#CD6EFD
secondary
#DDF6D1
accent
#E6004D
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6EFD

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

Preview Lab → · Contrast checker → · Palette generator →

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