#CD6FFE#CD6FFE

#CD6FFE is a light, highly saturated violet. Relative luminance 0.315; OKLCH L 70.6% C 0.215 H 312.5°. Best body text is #000000 at 7.30:1 contrast (WCAG AA passes).

Color values

HEX#CD6FFE
RGBrgb(205, 111, 254)
HSLhsl(279, 99%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(19.3%, 56.3%, 0%, 0.4%)
CIE-LABlab(62.93, 60.01, -56.52)
CIE-LCHlch(62.93, 82.44, 316.71°)
OKLaboklab(70.59% 0.1453 -0.1585)
OKLCHoklch(70.59% 0.215 312.5)
XYZxyz(48.7475, 31.5050, 97.2599)
Luminance0.3150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6FFE #A0FE6F
analogous
#866FFE #CD6FFE #FE6FE7
triadic
#CD6FFE #FECD6F #6FFECD
tetradic
#CD6FFE #FE866F #A0FE6F #6FE7FE
square
#CD6FFE #FE866F #A0FE6F #6FE7FE
split-complementary
#CD6FFE #E7FE6F #6FFE86
monochromatic
#9F02F1 #B832FE #CD6FFE #E2ACFE #F4E1FF

Accessibility & contrast

On white

2.88
#CD6FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.30
#CD6FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6FFE
7.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6FFE#FFFFFF#000000##000000
##CD6FFE1.002.887.307.30
#FFFFFF2.881.0021.0021.00
#0000007.3021.001.001.00
##0000007.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4493FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#C888AC
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd6ffe;
/* rgb */ color: rgb(205, 111, 254);
/* oklch */ color: oklch(70.6% 0.215 312.5);
Tailwind
colors: {
  custom: {
    50: '#df9cff',
    500: '#cd6ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cd6ffe;
$custom-light: #df9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6ffe",
  "rgb": {
    "r": 205,
    "g": 111,
    "b": 254
  },
  "hsl": {
    "h": 279.441,
    "s": 98.621,
    "l": 71.569
  },
  "oklch": {
    "l": 0.70591,
    "c": 0.215,
    "h": 312.5
  },
  "luminance": 0.31504
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD6FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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