#CD6EFF#CD6EFF

#CD6EFF is a light, highly saturated violet. Relative luminance 0.314; OKLCH L 70.5% C 0.217 H 312.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CD6EFF
RGBrgb(205, 110, 255)
HSLhsl(279, 100%, 72%)
HSVhsv(279, 57%, 100%)
CMYKcmyk(19.6%, 56.9%, 0%, 0%)
CIE-LABlab(62.80, 60.70, -57.28)
CIE-LCHlch(62.80, 83.46, 316.66°)
OKLaboklab(70.52% 0.1466 -0.1606)
OKLCHoklch(70.52% 0.217 312.4)
XYZxyz(48.7996, 31.3522, 98.0693)
Luminance0.3135 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6EFF #A0FF6E
analogous
#856EFF #CD6EFF #FF6EE9
triadic
#CD6EFF #FFCD6E #6EFFCD
tetradic
#CD6EFF #FF856E #A0FF6E #6EE9FF
square
#CD6EFF #FF856E #A0FF6E #6EE9FF
split-complementary
#CD6EFF #E9FF6E #6EFF85
monochromatic
#9F00F3 #B831FF #CD6EFF #E2ABFF #F4E0FF

Accessibility & contrast

On white

2.89
#CD6EFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CD6EFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6EFF
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6EFF#FFFFFF#000000##000000
##CD6EFF1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#659AFB
Tritanopia (blue-blind)
#C888AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd6eff;
/* rgb */ color: rgb(205, 110, 255);
/* oklch */ color: oklch(70.5% 0.217 312.4);
Tailwind
colors: {
  custom: {
    50: '#df9cff',
    500: '#cd6eff',
    950: '#000000',
  },
}
SCSS
$custom: #cd6eff;
$custom-light: #df9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6eff",
  "rgb": {
    "r": 205,
    "g": 110,
    "b": 255
  },
  "hsl": {
    "h": 279.31,
    "s": 100,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70515,
    "c": 0.21747,
    "h": 312.4
  },
  "luminance": 0.31351
}

Semantic roles & 50–950 ramp

primary
#CD6EFF
secondary
#DFF7D2
accent
#E6004F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6EFF

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

Preview Lab → · Contrast checker → · Palette generator →

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