#CD7EF7#CD7EF7

#CD7EF7 is a light, vivid violet. Relative luminance 0.346; OKLCH L 72.3% C 0.185 H 312.8°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CD7EF7
RGBrgb(205, 126, 247)
HSLhsl(279, 88%, 73%)
HSVhsv(279, 49%, 97%)
CMYKcmyk(17%, 49%, 0%, 3.1%)
CIE-LABlab(65.45, 50.99, -48.69)
CIE-LCHlch(65.45, 70.50, 316.33°)
OKLaboklab(72.33% 0.1255 -0.1357)
OKLCHoklch(72.33% 0.185 312.8)
XYZxyz(49.4233, 34.6174, 92.0559)
Luminance0.3462 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7EF7 #A8F77E
analogous
#907EF7 #CD7EF7 #F77EE4
triadic
#CD7EF7 #F7CD7E #7EF7CD
tetradic
#CD7EF7 #F7907E #A8F77E #7EE4F7
square
#CD7EF7 #F7907E #A8F77E #7EE4F7
split-complementary
#CD7EF7 #E4F77E #7EF790
monochromatic
#9F0FEC #B744F3 #CD7EF7 #E3B8FB #F4E2FD

Accessibility & contrast

On white

2.65
#CD7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CD7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7EF7
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7EF7#FFFFFF#000000##000000
##CD7EF71.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629BFB
Deuteranopia (green-blind)
#79A1F4
Tritanopia (blue-blind)
#C991AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7ef7;
/* rgb */ color: rgb(205, 126, 247);
/* oklch */ color: oklch(72.3% 0.185 312.8);
Tailwind
colors: {
  custom: {
    50: '#dea5fa',
    500: '#cd7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ef7;
$custom-light: #dea5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ef7",
  "rgb": {
    "r": 205,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 279.174,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72331,
    "c": 0.1848,
    "h": 312.8
  },
  "luminance": 0.34616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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