#CD8FEF#CD8FEF

#CD8FEF is a light, vivid violet. Relative luminance 0.389; OKLCH L 74.6% C 0.148 H 312.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#CD8FEF
RGBrgb(205, 143, 239)
HSLhsl(279, 75%, 75%)
HSVhsv(279, 40%, 94%)
CMYKcmyk(14.2%, 40.2%, 0%, 6.3%)
CIE-LABlab(68.65, 40.31, -39.27)
CIE-LCHlch(68.65, 56.28, 315.75°)
OKLaboklab(74.6% 0.1008 -0.1086)
OKLCHoklch(74.6% 0.148 312.9)
XYZxyz(50.5767, 38.8570, 86.4804)
Luminance0.3886 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FEF #B1EF8F
analogous
#9D8FEF #CD8FEF #EF8FE1
triadic
#CD8FEF #EFCD8F #8FEFCD
tetradic
#CD8FEF #EF9D8F #B1EF8F #8FE1EF
square
#CD8FEF #EF9D8F #B1EF8F #8FE1EF
split-complementary
#CD8FEF #E1EF8F #8FEF9D
monochromatic
#9D24E0 #B559E7 #CD8FEF #E5C5F7 #F3E4FB

Accessibility & contrast

On white

2.39
#CD8FEF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#CD8FEF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FEF
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FEF#FFFFFF#000000##000000
##CD8FEF1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA4F3
Deuteranopia (green-blind)
#8CA9EC
Tritanopia (blue-blind)
#CA9DB4
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #cd8fef;
/* rgb */ color: rgb(205, 143, 239);
/* oklch */ color: oklch(74.6% 0.148 312.9);
Tailwind
colors: {
  custom: {
    50: '#deb1f4',
    500: '#cd8fef',
    950: '#000000',
  },
}
SCSS
$custom: #cd8fef;
$custom-light: #deb1f4;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8fef",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 239
  },
  "hsl": {
    "h": 278.75,
    "s": 75,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74602,
    "c": 0.14815,
    "h": 312.9
  },
  "luminance": 0.38856
}

Semantic roles & 50–950 ramp

primary
#CD8FEF
secondary
#E2F3D8
accent
#D70E55
background
#FDFAFE
surface
#FBF5FD
border
#D4CFD5
text
#151117
muted
#838085

Preview Lab

Preview with #CD8FEF

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

Preview Lab → · Contrast checker → · Palette generator →

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