#CD7FF9#CD7FF9

#CD7FF9 is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.6% C 0.185 H 312.1°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#CD7FF9
RGBrgb(205, 127, 249)
HSLhsl(278, 91%, 74%)
HSVhsv(278, 49%, 98%)
CMYKcmyk(17.7%, 49%, 0%, 2.4%)
CIE-LABlab(65.75, 50.90, -49.31)
CIE-LCHlch(65.75, 70.87, 315.90°)
OKLaboklab(72.58% 0.1243 -0.1375)
OKLCHoklch(72.58% 0.185 312.1)
XYZxyz(49.8621, 34.9985, 93.7329)
Luminance0.3500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FF9 #ABF97F
analogous
#907FF9 #CD7FF9 #F97FE8
triadic
#CD7FF9 #F9CD7F #7FF9CD
tetradic
#CD7FF9 #F9907F #ABF97F #7FE8F9
square
#CD7FF9 #F9907F #ABF97F #7FE8F9
split-complementary
#CD7FF9 #E8F97F #7FF990
monochromatic
#9F0BF2 #B645F6 #CD7FF9 #E4B9FC #F4E2FE

Accessibility & contrast

On white

2.63
#CD7FF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#CD7FF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FF9
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FF9#FFFFFF#000000##000000
##CD7FF91.002.638.008.00
#FFFFFF2.631.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#629CFD
Deuteranopia (green-blind)
#79A1F6
Tritanopia (blue-blind)
#C992B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd7ff9;
/* rgb */ color: rgb(205, 127, 249);
/* oklch */ color: oklch(72.6% 0.185 312.1);
Tailwind
colors: {
  custom: {
    50: '#dea6fc',
    500: '#cd7ff9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ff9;
$custom-light: #dea6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ff9",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 249
  },
  "hsl": {
    "h": 278.361,
    "s": 91.045,
    "l": 73.725
  },
  "oklch": {
    "l": 0.72583,
    "c": 0.1854,
    "h": 312.1
  },
  "luminance": 0.34997
}

Semantic roles & 50–950 ramp

primary
#CD7FF9
secondary
#E1F6D5
accent
#E60053
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7FF9

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

Preview Lab → · Contrast checker → · Palette generator →

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