#CD7EF9#CD7EF9

#CD7EF9 is a light, vivid violet. Relative luminance 0.347; OKLCH L 72.4% C 0.187 H 312.2°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CD7EF9
RGBrgb(205, 126, 249)
HSLhsl(279, 91%, 74%)
HSVhsv(279, 49%, 98%)
CMYKcmyk(17.7%, 49.4%, 0%, 2.4%)
CIE-LABlab(65.55, 51.41, -49.63)
CIE-LCHlch(65.55, 71.46, 316.01°)
OKLaboklab(72.44% 0.1257 -0.1384)
OKLCHoklch(72.44% 0.187 312.2)
XYZxyz(49.7336, 34.7415, 93.6900)
Luminance0.3474 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EF9 #AAF97E
analogous
#8F7EF9 #CD7EF9 #F97EE7
triadic
#CD7EF9 #F9CD7E #7EF9CD
tetradic
#CD7EF9 #F98F7E #AAF97E #7EE7F9
square
#CD7EF9 #F98F7E #AAF97E #7EE7F9
split-complementary
#CD7EF9 #E7F97E #7EF98F
monochromatic
#9F0BF1 #B644F6 #CD7EF9 #E4B8FC #F4E2FE

Accessibility & contrast

On white

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

On black

7.95
#CD7EF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EF9
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EF9#FFFFFF#000000##000000
##CD7EF91.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFD
Deuteranopia (green-blind)
#78A1F6
Tritanopia (blue-blind)
#C992B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7ef9;
/* rgb */ color: rgb(205, 126, 249);
/* oklch */ color: oklch(72.4% 0.187 312.2);
Tailwind
colors: {
  custom: {
    50: '#dea5fc',
    500: '#cd7ef9',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ef9;
$custom-light: #dea5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ef9",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 249
  },
  "hsl": {
    "h": 278.537,
    "s": 91.111,
    "l": 73.529
  },
  "oklch": {
    "l": 0.72435,
    "c": 0.18697,
    "h": 312.2
  },
  "luminance": 0.3474
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7EF9

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

Preview Lab → · Contrast checker → · Palette generator →

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