#CD8FFA#CD8FFA

#CD8FFA is a light, vivid violet. Relative luminance 0.395; OKLCH L 75.1% C 0.161 H 309.7°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#CD8FFA
RGBrgb(205, 143, 250)
HSLhsl(275, 91%, 77%)
HSVhsv(275, 43%, 98%)
CMYKcmyk(18%, 42.8%, 0%, 2%)
CIE-LABlab(69.13, 42.65, -44.53)
CIE-LCHlch(69.13, 61.66, 313.76°)
OKLaboklab(75.12% 0.1028 -0.1237)
OKLCHoklch(75.12% 0.161 309.7)
XYZxyz(52.2514, 39.5269, 95.3008)
Luminance0.3953 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FFA #BCFA8F
analogous
#988FFA #CD8FFA #FA8FF2
triadic
#CD8FFA #FACD8F #8FFACD
tetradic
#CD8FFA #FA988F #BCFA8F #8FF2FA
square
#CD8FFA #FA988F #BCFA8F #8FF2FA
split-complementary
#CD8FFA #F2FA8F #8FFA98
monochromatic
#991AF5 #B354F7 #CD8FFA #E7CAFD #F2E2FE

Accessibility & contrast

On white

2.36
#CD8FFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.91
#CD8FFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FFA
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FFA#FFFFFF#000000##000000
##CD8FFA1.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FE
Deuteranopia (green-blind)
#87AAF7
Tritanopia (blue-blind)
#C89FB9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd8ffa;
/* rgb */ color: rgb(205, 143, 250);
/* oklch */ color: oklch(75.1% 0.161 309.7);
Tailwind
colors: {
  custom: {
    50: '#deb1fc',
    500: '#cd8ffa',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ffa;
$custom-light: #deb1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ffa",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 250
  },
  "hsl": {
    "h": 274.766,
    "s": 91.453,
    "l": 77.059
  },
  "oklch": {
    "l": 0.75124,
    "c": 0.16084,
    "h": 309.7
  },
  "luminance": 0.39526
}

Semantic roles & 50–950 ramp

primary
#CD8FFA
secondary
#E3F6D5
accent
#E60061
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD8FFA

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

Preview Lab → · Contrast checker → · Palette generator →

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