#CD71FF#CD71FF

#CD71FF is a light, highly saturated violet. Relative luminance 0.320; OKLCH L 70.9% C 0.213 H 312.1°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#CD71FF
RGBrgb(205, 113, 255)
HSLhsl(279, 100%, 72%)
HSVhsv(279, 56%, 100%)
CMYKcmyk(19.6%, 55.7%, 0%, 0%)
CIE-LABlab(63.35, 59.24, -56.41)
CIE-LCHlch(63.35, 81.80, 316.40°)
OKLaboklab(70.92% 0.1429 -0.1581)
OKLCHoklch(70.92% 0.213 312.1)
XYZxyz(49.1288, 32.0106, 98.1790)
Luminance0.3201 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD71FF #A3FF71
analogous
#8671FF #CD71FF #FF71EA
triadic
#CD71FF #FFCD71 #71FFCD
tetradic
#CD71FF #FF8671 #A3FF71 #71EAFF
square
#CD71FF #FF8671 #A3FF71 #71EAFF
split-complementary
#CD71FF #EAFF71 #71FF86
monochromatic
#9F00F6 #B734FF #CD71FF #E3AEFF #F4E0FF

Accessibility & contrast

On white

2.84
#CD71FF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#CD71FF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD71FF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD71FF#FFFFFF#000000##000000
##CD71FF1.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4695FF
Deuteranopia (green-blind)
#689BFB
Tritanopia (blue-blind)
#C88AAE
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cd71ff;
/* rgb */ color: rgb(205, 113, 255);
/* oklch */ color: oklch(70.9% 0.213 312.1);
Tailwind
colors: {
  custom: {
    50: '#df9dff',
    500: '#cd71ff',
    950: '#000000',
  },
}
SCSS
$custom: #cd71ff;
$custom-light: #df9dff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd71ff",
  "rgb": {
    "r": 205,
    "g": 113,
    "b": 255
  },
  "hsl": {
    "h": 278.873,
    "s": 100,
    "l": 72.157
  },
  "oklch": {
    "l": 0.70916,
    "c": 0.21311,
    "h": 312.1
  },
  "luminance": 0.32009
}

Semantic roles & 50–950 ramp

primary
#CD71FF
secondary
#E0F7D4
accent
#E60051
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160F18
muted
#847E86

Preview Lab

Preview with #CD71FF

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

Preview Lab → · Contrast checker → · Palette generator →

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