#CD9EFA#CD9EFA

#CD9EFA is a light, vivid violet. Relative luminance 0.443; OKLCH L 77.6% C 0.136 H 306.9°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#CD9EFA
RGBrgb(205, 158, 250)
HSLhsl(271, 90%, 80%)
HSVhsv(271, 37%, 98%)
CMYKcmyk(18%, 36.8%, 0%, 2%)
CIE-LABlab(72.45, 34.53, -39.34)
CIE-LCHlch(72.45, 52.34, 311.27°)
OKLaboklab(77.63% 0.0819 -0.1089)
OKLCHoklch(77.63% 0.136 306.9)
XYZxyz(54.6557, 44.3354, 96.1022)
Luminance0.4434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD9EFA #CBFA9E
analogous
#9F9EFA #CD9EFA #FA9EF9
triadic
#CD9EFA #FACD9E #9EFACD
tetradic
#CD9EFA #FA9F9E #CBFA9E #9EF9FA
square
#CD9EFA #FA9F9E #CBFA9E #9EF9FA
split-complementary
#CD9EFA #F9FA9E #9EFA9F
monochromatic
#912AF4 #AF64F7 #CD9EFA #EBD8FD #F0E2FD

Accessibility & contrast

On white

2.13
#CD9EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CD9EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD9EFA
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD9EFA#FFFFFF#000000##000000
##CD9EFA1.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8BB0FE
Deuteranopia (green-blind)
#95B2F7
Tritanopia (blue-blind)
#C7ACC0
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cd9efa;
/* rgb */ color: rgb(205, 158, 250);
/* oklch */ color: oklch(77.6% 0.136 306.9);
Tailwind
colors: {
  custom: {
    50: '#ddbbfc',
    500: '#cd9efa',
    950: '#000000',
  },
}
SCSS
$custom: #cd9efa;
$custom-light: #ddbbfc;
$custom-dark: #000000;
JSON
{
  "hex": "#cd9efa",
  "rgb": {
    "r": 205,
    "g": 158,
    "b": 250
  },
  "hsl": {
    "h": 270.652,
    "s": 90.196,
    "l": 80
  },
  "oklch": {
    "l": 0.7763,
    "c": 0.13622,
    "h": 306.9
  },
  "luminance": 0.44335
}

Semantic roles & 50–950 ramp

primary
#CD9EFA
secondary
#E5F6D5
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CD9EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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