#CD7FF5#CD7FF5

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

Color values

HEX#CD7FF5
RGBrgb(205, 127, 245)
HSLhsl(280, 86%, 73%)
HSVhsv(280, 48%, 96%)
CMYKcmyk(16.3%, 48.2%, 0%, 3.9%)
CIE-LABlab(65.55, 50.06, -47.42)
CIE-LCHlch(65.55, 68.95, 316.55°)
OKLaboklab(72.38% 0.1239 -0.132)
OKLCHoklch(72.38% 0.181 313.2)
XYZxyz(49.2449, 34.7516, 90.4821)
Luminance0.3475 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FF5 #A7F57F
analogous
#927FF5 #CD7FF5 #F57FE2
triadic
#CD7FF5 #F5CD7F #7FF5CD
tetradic
#CD7FF5 #F5927F #A7F57F #7FE2F5
square
#CD7FF5 #F5927F #A7F57F #7FE2F5
split-complementary
#CD7FF5 #E2F57F #7FF592
monochromatic
#9F12E8 #B746F1 #CD7FF5 #E3B8F9 #F4E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CD7FF5#FFFFFF#000000##000000
##CD7FF51.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)
#659BF9
Deuteranopia (green-blind)
#7BA1F2
Tritanopia (blue-blind)
#C991AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cd7ff5;
/* rgb */ color: rgb(205, 127, 245);
/* oklch */ color: oklch(72.4% 0.181 313.2);
Tailwind
colors: {
  custom: {
    50: '#dea6f9',
    500: '#cd7ff5',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ff5;
$custom-light: #dea6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ff5",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 245
  },
  "hsl": {
    "h": 279.661,
    "s": 85.507,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72378,
    "c": 0.18103,
    "h": 313.2
  },
  "luminance": 0.3475
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FF5

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

Preview Lab → · Contrast checker → · Palette generator →

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