#CD9DFA#CD9DFA

#CD9DFA is a light, vivid violet. Relative luminance 0.440; OKLCH L 77.5% C 0.138 H 307.2°. Best body text is #000000 at 9.80:1 contrast (WCAG AA passes).

Color values

HEX#CD9DFA
RGBrgb(205, 157, 250)
HSLhsl(271, 90%, 80%)
HSVhsv(271, 37%, 98%)
CMYKcmyk(18%, 37.2%, 0%, 2%)
CIE-LABlab(72.23, 35.07, -39.70)
CIE-LCHlch(72.23, 52.97, 311.46°)
OKLaboklab(77.46% 0.0833 -0.1099)
OKLCHoklch(77.46% 0.138 307.2)
XYZxyz(54.4858, 43.9957, 96.0456)
Luminance0.4400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DFA #CAFA9D
analogous
#9F9DFA #CD9DFA #FA9DF8
triadic
#CD9DFA #FACD9D #9DFACD
tetradic
#CD9DFA #FA9F9D #CAFA9D #9DF8FA
square
#CD9DFA #FA9F9D #CAFA9D #9DF8FA
split-complementary
#CD9DFA #F8FA9D #9DFA9F
monochromatic
#9229F4 #AF63F7 #CD9DFA #EBD7FD #F0E2FE

Accessibility & contrast

On white

2.14
#CD9DFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.80
#CD9DFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DFA
9.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DFA#FFFFFF#000000##000000
##CD9DFA1.002.149.809.80
#FFFFFF2.141.0021.0021.00
#0000009.8021.001.001.00
##0000009.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#89AFFE
Deuteranopia (green-blind)
#94B2F7
Tritanopia (blue-blind)
#C7ABC0
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cd9dfa;
/* rgb */ color: rgb(205, 157, 250);
/* oklch */ color: oklch(77.5% 0.138 307.2);
Tailwind
colors: {
  custom: {
    50: '#ddbafc',
    500: '#cd9dfa',
    950: '#000000',
  },
}
SCSS
$custom: #cd9dfa;
$custom-light: #ddbafc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9dfa",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 250
  },
  "hsl": {
    "h": 270.968,
    "s": 90.291,
    "l": 79.804
  },
  "oklch": {
    "l": 0.77458,
    "c": 0.13787,
    "h": 307.2
  },
  "luminance": 0.43995
}

Semantic roles & 50–950 ramp

primary
#CD9DFA
secondary
#E5F6D5
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9DFA

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

Preview Lab → · Contrast checker → · Palette generator →

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