#CD7FF6#CD7FF6

#CD7FF6 is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.4% C 0.182 H 312.9°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#CD7FF6
RGBrgb(205, 127, 246)
HSLhsl(279, 87%, 73%)
HSVhsv(279, 48%, 96%)
CMYKcmyk(16.7%, 48.4%, 0%, 3.5%)
CIE-LABlab(65.60, 50.27, -47.89)
CIE-LCHlch(65.60, 69.43, 316.38°)
OKLaboklab(72.43% 0.124 -0.1334)
OKLCHoklch(72.43% 0.182 312.9)
XYZxyz(49.3979, 34.8128, 91.2882)
Luminance0.3481 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FF6 #A8F67F
analogous
#917FF6 #CD7FF6 #F67FE3
triadic
#CD7FF6 #F6CD7F #7FF6CD
tetradic
#CD7FF6 #F6917F #A8F67F #7FE3F6
square
#CD7FF6 #F6917F #A8F67F #7FE3F6
split-complementary
#CD7FF6 #E3F67F #7FF691
monochromatic
#9F10EA #B746F2 #CD7FF6 #E3B8FA #F4E2FD

Accessibility & contrast

On white

2.64
#CD7FF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#CD7FF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FF6
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FF6#FFFFFF#000000##000000
##CD7FF61.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#649BFA
Deuteranopia (green-blind)
#7BA1F3
Tritanopia (blue-blind)
#C992AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7ff6;
/* rgb */ color: rgb(205, 127, 246);
/* oklch */ color: oklch(72.4% 0.182 312.9);
Tailwind
colors: {
  custom: {
    50: '#dea6f9',
    500: '#cd7ff6',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ff6;
$custom-light: #dea6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ff6",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 246
  },
  "hsl": {
    "h": 279.328,
    "s": 86.861,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72429,
    "c": 0.18212,
    "h": 312.9
  },
  "luminance": 0.34812
}

Semantic roles & 50–950 ramp

primary
#CD7FF6
secondary
#E1F5D6
accent
#E30250
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7FF6

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

Preview Lab → · Contrast checker → · Palette generator →

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