#CD7FFC#CD7FFC

#CD7FFC is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.7% C 0.189 H 311.4°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CD7FFC
RGBrgb(205, 127, 252)
HSLhsl(277, 95%, 74%)
HSVhsv(277, 50%, 99%)
CMYKcmyk(18.7%, 49.6%, 0%, 1.2%)
CIE-LABlab(65.89, 51.53, -50.73)
CIE-LCHlch(65.89, 72.31, 315.45°)
OKLaboklab(72.74% 0.1247 -0.1416)
OKLCHoklch(72.74% 0.189 311.4)
XYZxyz(50.3337, 35.1872, 96.2169)
Luminance0.3519 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FFC #AEFC7F
analogous
#8F7FFC #CD7FFC #FC7FED
triadic
#CD7FFC #FCCD7F #7FFCCD
tetradic
#CD7FFC #FC8F7F #AEFC7F #7FEDFC
square
#CD7FFC #FC8F7F #AEFC7F #7FEDFC
split-complementary
#CD7FFC #EDFC7F #7FFC8F
monochromatic
#9E07F9 #B643FB #CD7FFC #E4BBFD #F3E1FE

Accessibility & contrast

On white

2.61
#CD7FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CD7FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FFC
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FFC#FFFFFF#000000##000000
##CD7FFC1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#609CFF
Deuteranopia (green-blind)
#77A2F9
Tritanopia (blue-blind)
#C893B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd7ffc;
/* rgb */ color: rgb(205, 127, 252);
/* oklch */ color: oklch(72.7% 0.189 311.4);
Tailwind
colors: {
  custom: {
    50: '#dfa6fe',
    500: '#cd7ffc',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ffc;
$custom-light: #dfa6fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ffc",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 252
  },
  "hsl": {
    "h": 277.44,
    "s": 95.42,
    "l": 74.314
  },
  "oklch": {
    "l": 0.7274,
    "c": 0.18868,
    "h": 311.4
  },
  "luminance": 0.35186
}

Semantic roles & 50–950 ramp

primary
#CD7FFC
secondary
#E1F7D4
accent
#E60056
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151018
muted
#837F86

Preview Lab

Preview with #CD7FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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