#CD7FFA#CD7FFA

#CD7FFA is a light, vivid violet. Relative luminance 0.351; OKLCH L 72.6% C 0.186 H 311.9°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).

Color values

HEX#CD7FFA
RGBrgb(205, 127, 250)
HSLhsl(278, 92%, 74%)
HSVhsv(278, 49%, 98%)
CMYKcmyk(18%, 49.2%, 0%, 2%)
CIE-LABlab(65.80, 51.11, -49.78)
CIE-LCHlch(65.80, 71.35, 315.75°)
OKLaboklab(72.64% 0.1245 -0.1389)
OKLCHoklch(72.64% 0.186 311.9)
XYZxyz(50.0185, 35.0611, 94.5565)
Luminance0.3506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD7FFA #ACFA7F
analogous
#907FFA #CD7FFA #FA7FE9
triadic
#CD7FFA #FACD7F #7FFACD
tetradic
#CD7FFA #FA907F #ACFA7F #7FE9FA
square
#CD7FFA #FA907F #ACFA7F #7FE9FA
split-complementary
#CD7FFA #E9FA7F #7FFA90
monochromatic
#9F0AF5 #B644F8 #CD7FFA #E4BAFC #F3E2FE

Accessibility & contrast

On white

2.62
#CD7FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.01
#CD7FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD7FFA
8.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD7FFA#FFFFFF#000000##000000
##CD7FFA1.002.628.018.01
#FFFFFF2.621.0021.0021.00
#0000008.0121.001.001.00
##0000008.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#619CFE
Deuteranopia (green-blind)
#78A2F7
Tritanopia (blue-blind)
#C893B1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cd7ffa;
/* rgb */ color: rgb(205, 127, 250);
/* oklch */ color: oklch(72.6% 0.186 311.9);
Tailwind
colors: {
  custom: {
    50: '#dea6fc',
    500: '#cd7ffa',
    950: '#000000',
  },
}
SCSS
$custom: #cd7ffa;
$custom-light: #dea6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd7ffa",
  "rgb": {
    "r": 205,
    "g": 127,
    "b": 250
  },
  "hsl": {
    "h": 278.049,
    "s": 92.481,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72635,
    "c": 0.18649,
    "h": 311.9
  },
  "luminance": 0.3506
}

Semantic roles & 50–950 ramp

primary
#CD7FFA
secondary
#E1F6D5
accent
#E60054
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CD7FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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