#CD7FFD#CD7FFD

#CD7FFD is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.8% C 0.190 H 311.1°. Best body text is #000000 at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#CD7FFD
RGBrgb(205, 127, 253)
HSLhsl(277, 97%, 75%)
HSVhsv(277, 50%, 99%)
CMYKcmyk(19%, 49.8%, 0%, 0.8%)
CIE-LABlab(65.94, 51.74, -51.20)
CIE-LCHlch(65.94, 72.79, 315.31°)
OKLaboklab(72.79% 0.1248 -0.143)
OKLCHoklch(72.79% 0.19 311.1)
XYZxyz(50.4926, 35.2507, 97.0536)
Luminance0.3525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FFD #AFFD7F
analogous
#8E7FFD #CD7FFD #FD7FEE
triadic
#CD7FFD #FDCD7F #7FFDCD
tetradic
#CD7FFD #FD8E7F #AFFD7F #7FEEFD
square
#CD7FFD #FD8E7F #AFFD7F #7FEEFD
split-complementary
#CD7FFD #EEFD7F #7FFD8E
monochromatic
#9E06FB #B543FC #CD7FFD #E5BBFE #F3E1FF

Accessibility & contrast

On white

2.61
#CD7FFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.05
#CD7FFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FFD
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FFD#FFFFFF#000000##000000
##CD7FFD1.002.618.058.05
#FFFFFF2.611.0021.0021.00
#0000008.0521.001.001.00
##0000008.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9CFF
Deuteranopia (green-blind)
#77A2FA
Tritanopia (blue-blind)
#C894B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd7ffd;
/* rgb */ color: rgb(205, 127, 253);
/* oklch */ color: oklch(72.8% 0.190 311.1);
Tailwind
colors: {
  custom: {
    50: '#dfa6fe',
    500: '#cd7ffd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ffd;
$custom-light: #dfa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ffd",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 253
  },
  "hsl": {
    "h": 277.143,
    "s": 96.923,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72792,
    "c": 0.18977,
    "h": 311.1
  },
  "luminance": 0.3525
}

Semantic roles & 50–950 ramp

primary
#CD7FFD
secondary
#E1F7D4
accent
#E60057
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD7FFD

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

Preview Lab → · Contrast checker → · Palette generator →

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