#CD6FFF#CD6FFF

#CD6FFF is a light, highly saturated violet. Relative luminance 0.316; OKLCH L 70.6% C 0.216 H 312.3°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#CD6FFF
RGBrgb(205, 111, 255)
HSLhsl(279, 100%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(19.6%, 56.5%, 0%, 0%)
CIE-LABlab(62.99, 60.21, -56.99)
CIE-LCHlch(62.99, 82.91, 316.58°)
OKLaboklab(70.65% 0.1453 -0.1598)
OKLCHoklch(70.65% 0.216 312.3)
XYZxyz(48.9081, 31.5692, 98.1054)
Luminance0.3157 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD6FFF #A1FF6F
analogous
#856FFF #CD6FFF #FF6FE9
triadic
#CD6FFF #FFCD6F #6FFFCD
tetradic
#CD6FFF #FF856F #A1FF6F #6FE9FF
square
#CD6FFF #FF856F #A1FF6F #6FE9FF
split-complementary
#CD6FFF #E9FF6F #6FFF85
monochromatic
#9F00F4 #B832FF #CD6FFF #E2ACFF #F4E0FF

Accessibility & contrast

On white

2.87
#CD6FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#CD6FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD6FFF
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD6FFF#FFFFFF#000000##000000
##CD6FFF1.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4394FF
Deuteranopia (green-blind)
#669AFB
Tritanopia (blue-blind)
#C888AD
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cd6fff;
/* rgb */ color: rgb(205, 111, 255);
/* oklch */ color: oklch(70.6% 0.216 312.3);
Tailwind
colors: {
  custom: {
    50: '#df9cff',
    500: '#cd6fff',
    950: '#000000',
  },
}
SCSS
$custom: #cd6fff;
$custom-light: #df9cff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd6fff",
  "rgb": {
    "r": 205,
    "g": 111,
    "b": 255
  },
  "hsl": {
    "h": 279.167,
    "s": 100,
    "l": 71.765
  },
  "oklch": {
    "l": 0.70647,
    "c": 0.21602,
    "h": 312.3
  },
  "luminance": 0.31568
}

Semantic roles & 50–950 ramp

primary
#CD6FFF
secondary
#DFF7D3
accent
#E60050
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CD6FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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