#CD7CFD#CD7CFD

#CD7CFD is a light, vivid violet. Relative luminance 0.345; OKLCH L 72.4% C 0.194 H 311.4°. Best body text is #000000 at 7.90:1 contrast (WCAG AA passes).

Color values

HEX#CD7CFD
RGBrgb(205, 124, 253)
HSLhsl(278, 97%, 74%)
HSVhsv(278, 51%, 99%)
CMYKcmyk(19%, 51%, 0%, 0.8%)
CIE-LABlab(65.35, 53.29, -52.14)
CIE-LCHlch(65.35, 74.55, 315.63°)
OKLaboklab(72.35% 0.1287 -0.1457)
OKLCHoklch(72.35% 0.194 311.4)
XYZxyz(50.1109, 34.4873, 96.9264)
Luminance0.3449 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7CFD #ACFD7C
analogous
#8D7CFD #CD7CFD #FD7CED
triadic
#CD7CFD #FDCD7C #7CFDCD
tetradic
#CD7CFD #FD8D7C #ACFD7C #7CEDFD
square
#CD7CFD #FD8D7C #ACFD7C #7CEDFD
split-complementary
#CD7CFD #EDFD7C #7CFD8D
monochromatic
#9F04FB #B640FC #CD7CFD #E4B8FE #F3E1FF

Accessibility & contrast

On white

2.66
#CD7CFD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.90
#CD7CFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7CFD
7.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7CFD#FFFFFF#000000##000000
##CD7CFD1.002.667.907.90
#FFFFFF2.661.0021.0021.00
#0000007.9021.001.001.00
##0000007.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9BFF
Deuteranopia (green-blind)
#74A0FA
Tritanopia (blue-blind)
#C891B1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7cfd;
/* rgb */ color: rgb(205, 124, 253);
/* oklch */ color: oklch(72.4% 0.194 311.4);
Tailwind
colors: {
  custom: {
    50: '#dfa4fe',
    500: '#cd7cfd',
    950: '#000000',
  },
}
SCSS
$custom: #cd7cfd;
$custom-light: #dfa4fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7cfd",
  "rgb": {
    "r": 205,
    "g": 124,
    "b": 253
  },
  "hsl": {
    "h": 277.674,
    "s": 96.992,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72351,
    "c": 0.19442,
    "h": 311.4
  },
  "luminance": 0.34486
}

Semantic roles & 50–950 ramp

primary
#CD7CFD
secondary
#E1F7D4
accent
#E60055
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F18
muted
#837F86

Preview Lab

Preview with #CD7CFD

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

Preview Lab → · Contrast checker → · Palette generator →

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