#CD7FF7#CD7FF7

#CD7FF7 is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.5% C 0.183 H 312.6°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CD7FF7
RGBrgb(205, 127, 247)
HSLhsl(279, 88%, 73%)
HSVhsv(279, 49%, 97%)
CMYKcmyk(17%, 48.6%, 0%, 3.1%)
CIE-LABlab(65.65, 50.47, -48.37)
CIE-LCHlch(65.65, 69.91, 316.22°)
OKLaboklab(72.48% 0.1241 -0.1348)
OKLCHoklch(72.48% 0.183 312.6)
XYZxyz(49.5518, 34.8744, 92.0988)
Luminance0.3487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FF7 #A9F77F
analogous
#917FF7 #CD7FF7 #F77FE5
triadic
#CD7FF7 #F7CD7F #7FF7CD
tetradic
#CD7FF7 #F7917F #A9F77F #7FE5F7
square
#CD7FF7 #F7917F #A9F77F #7FE5F7
split-complementary
#CD7FF7 #E5F77F #7FF791
monochromatic
#9F0FED #B645F3 #CD7FF7 #E3B9FB #F4E2FD

Accessibility & contrast

On white

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

On black

7.97
#CD7FF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FF7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FF7#FFFFFF#000000##000000
##CD7FF71.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#7AA1F4
Tritanopia (blue-blind)
#C992B0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7ff7;
/* rgb */ color: rgb(205, 127, 247);
/* oklch */ color: oklch(72.5% 0.183 312.6);
Tailwind
colors: {
  custom: {
    50: '#dea6fa',
    500: '#cd7ff7',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ff7;
$custom-light: #dea6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ff7",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 247
  },
  "hsl": {
    "h": 279,
    "s": 88.235,
    "l": 73.333
  },
  "oklch": {
    "l": 0.7248,
    "c": 0.18322,
    "h": 312.6
  },
  "luminance": 0.34873
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FF7

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

Preview Lab → · Contrast checker → · Palette generator →

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