#CD9CFA#CD9CFA

#CD9CFA is a light, vivid violet. Relative luminance 0.437; OKLCH L 77.3% C 0.140 H 307.4°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#CD9CFA
RGBrgb(205, 156, 250)
HSLhsl(271, 90%, 80%)
HSVhsv(271, 38%, 98%)
CMYKcmyk(18%, 37.6%, 0%, 2%)
CIE-LABlab(72.00, 35.62, -40.05)
CIE-LCHlch(72.00, 53.59, 311.65°)
OKLaboklab(77.29% 0.0847 -0.1109)
OKLCHoklch(77.29% 0.14 307.4)
XYZxyz(54.3173, 43.6587, 95.9894)
Luminance0.4366 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CFA #C9FA9C
analogous
#9E9CFA #CD9CFA #FA9CF8
triadic
#CD9CFA #FACD9C #9CFACD
tetradic
#CD9CFA #FA9E9C #C9FA9C #9CF8FA
square
#CD9CFA #FA9E9C #C9FA9C #9CF8FA
split-complementary
#CD9CFA #F8FA9C #9CFA9E
monochromatic
#9227F4 #B062F7 #CD9CFA #EAD6FD #F0E2FE

Accessibility & contrast

On white

2.16
#CD9CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#CD9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CFA
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CFA#FFFFFF#000000##000000
##CD9CFA1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#88AFFE
Deuteranopia (green-blind)
#93B1F7
Tritanopia (blue-blind)
#C7AABF
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9cfa;
/* rgb */ color: rgb(205, 156, 250);
/* oklch */ color: oklch(77.3% 0.140 307.4);
Tailwind
colors: {
  custom: {
    50: '#ddbafc',
    500: '#cd9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cfa;
$custom-light: #ddbafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cfa",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 271.277,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.77287,
    "c": 0.13951,
    "h": 307.4
  },
  "luminance": 0.43658
}

Semantic roles & 50–950 ramp

primary
#CD9CFA
secondary
#E5F6D5
accent
#E6006E
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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