#CD9CF7#CD9CF7

#CD9CF7 is a light, vivid violet. Relative luminance 0.435; OKLCH L 77.2% C 0.136 H 308.2°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).

Color values

HEX#CD9CF7
RGBrgb(205, 156, 247)
HSLhsl(272, 85%, 79%)
HSVhsv(272, 37%, 97%)
CMYKcmyk(17%, 36.8%, 0%, 3.1%)
CIE-LABlab(71.87, 34.97, -38.61)
CIE-LCHlch(71.87, 52.09, 312.16°)
OKLaboklab(77.15% 0.0841 -0.1067)
OKLCHoklch(77.15% 0.136 308.2)
XYZxyz(53.8506, 43.4720, 93.5317)
Luminance0.4347 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9CF7 #C6F79C
analogous
#A09CF7 #CD9CF7 #F79CF3
triadic
#CD9CF7 #F7CD9C #9CF7CD
tetradic
#CD9CF7 #F7A09C #C6F79C #9CF3F7
square
#CD9CF7 #F7A09C #C6F79C #9CF3F7
split-complementary
#CD9CF7 #F3F79C #9CF7A0
monochromatic
#942BEE #B063F2 #CD9CF7 #EAD5FC #F1E3FD

Accessibility & contrast

On white

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

On black

9.69
#CD9CF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9CF7
9.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9CF7#FFFFFF#000000##000000
##CD9CF71.002.179.699.69
#FFFFFF2.171.0021.0021.00
#0000009.6921.001.001.00
##0000009.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AAEFA
Deuteranopia (green-blind)
#94B1F4
Tritanopia (blue-blind)
#C8A9BE
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cd9cf7;
/* rgb */ color: rgb(205, 156, 247);
/* oklch */ color: oklch(77.2% 0.136 308.2);
Tailwind
colors: {
  custom: {
    50: '#ddbafa',
    500: '#cd9cf7',
    950: '#000000',
  },
}
SCSS
$custom: #cd9cf7;
$custom-light: #ddbafa;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9cf7",
  "rgb": {
    "r": 205,
    "g": 156,
    "b": 247
  },
  "hsl": {
    "h": 272.308,
    "s": 85.047,
    "l": 79.02
  },
  "oklch": {
    "l": 0.77151,
    "c": 0.13587,
    "h": 308.2
  },
  "luminance": 0.43471
}

Semantic roles & 50–950 ramp

primary
#CD9CF7
secondary
#E4F5D6
accent
#E2046A
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD9CF7

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

Preview Lab → · Contrast checker → · Palette generator →

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