#CD7FFE#CD7FFE

#CD7FFE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.8% C 0.191 H 310.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#CD7FFE
RGBrgb(205, 127, 254)
HSLhsl(277, 98%, 75%)
HSVhsv(277, 50%, 100%)
CMYKcmyk(19.3%, 50%, 0%, 0.4%)
CIE-LABlab(65.99, 51.96, -51.67)
CIE-LCHlch(65.99, 73.27, 315.16°)
OKLaboklab(72.85% 0.1249 -0.1444)
OKLCHoklch(72.85% 0.191 310.9)
XYZxyz(50.6523, 35.3146, 97.8948)
Luminance0.3531 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FFE #B0FE7F
analogous
#8D7FFE #CD7FFE #FE7FF0
triadic
#CD7FFE #FECD7F #7FFECD
tetradic
#CD7FFE #FE8D7F #B0FE7F #7FF0FE
square
#CD7FFE #FE8D7F #B0FE7F #7FF0FE
split-complementary
#CD7FFE #F0FE7F #7FFE8D
monochromatic
#9E06FD #B542FE #CD7FFE #E5BCFE #F3E1FF

Accessibility & contrast

On white

2.60
#CD7FFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#CD7FFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FFE
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FFE#FFFFFF#000000##000000
##CD7FFE1.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F9DFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#C794B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd7ffe;
/* rgb */ color: rgb(205, 127, 254);
/* oklch */ color: oklch(72.8% 0.191 310.9);
Tailwind
colors: {
  custom: {
    50: '#dfa6ff',
    500: '#cd7ffe',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ffe;
$custom-light: #dfa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ffe",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 254
  },
  "hsl": {
    "h": 276.85,
    "s": 98.45,
    "l": 74.706
  },
  "oklch": {
    "l": 0.72845,
    "c": 0.19087,
    "h": 310.9
  },
  "luminance": 0.35314
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CD7FFE

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

Preview Lab → · Contrast checker → · Palette generator →

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