#CD9DF0#CD9DF0

#CD9DF0 is a light, vivid violet. Relative luminance 0.434; OKLCH L 77.0% C 0.126 H 310.1°. Best body text is #000000 at 9.68:1 contrast (WCAG AA passes).

Color values

HEX#CD9DF0
RGBrgb(205, 157, 240)
HSLhsl(275, 73%, 78%)
HSVhsv(275, 35%, 94%)
CMYKcmyk(14.6%, 34.6%, 0%, 5.9%)
CIE-LABlab(71.82, 32.92, -34.89)
CIE-LCHlch(71.82, 47.97, 313.33°)
OKLaboklab(77.01% 0.0811 -0.0961)
OKLCHoklch(77.01% 0.126 310.1)
XYZxyz(52.9592, 43.3850, 88.0054)
Luminance0.4338 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9DF0 #C0F09D
analogous
#A39DF0 #CD9DF0 #F09DE9
triadic
#CD9DF0 #F0CD9D #9DF0CD
tetradic
#CD9DF0 #F0A39D #C0F09D #9DE9F0
square
#CD9DF0 #F0A39D #C0F09D #9DE9F0
split-complementary
#CD9DF0 #E9F09D #9DF0A3
monochromatic
#9733E0 #B268E8 #CD9DF0 #E8D2F8 #F1E4FB

Accessibility & contrast

On white

2.17
#CD9DF0 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.68
#CD9DF0 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9DF0
9.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9DF0#FFFFFF#000000##000000
##CD9DF01.002.179.689.68
#FFFFFF2.171.0021.0021.00
#0000009.6821.001.001.00
##0000009.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8EAEF3
Deuteranopia (green-blind)
#98B1EE
Tritanopia (blue-blind)
#C9A9BC
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9df0;
/* rgb */ color: rgb(205, 157, 240);
/* oklch */ color: oklch(77.0% 0.126 310.1);
Tailwind
colors: {
  custom: {
    50: '#ddbaf5',
    500: '#cd9df0',
    950: '#000000',
  },
}
SCSS
$custom: #cd9df0;
$custom-light: #ddbaf5;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9df0",
  "rgb": {
    "r": 205,
    "g": 157,
    "b": 240
  },
  "hsl": {
    "h": 274.699,
    "s": 73.451,
    "l": 77.843
  },
  "oklch": {
    "l": 0.77012,
    "c": 0.12574,
    "h": 310.1
  },
  "luminance": 0.43384
}

Semantic roles & 50–950 ramp

primary
#CD9DF0
secondary
#E3F3D8
accent
#D61063
background
#FDFBFE
surface
#FBF6FD
border
#D4D0D5
text
#151117
muted
#838085

Preview Lab

Preview with #CD9DF0

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

Preview Lab → · Contrast checker → · Palette generator →

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