#CD8AF4#CD8AF4

#CD8AF4 is a light, vivid violet. Relative luminance 0.377; OKLCH L 74.0% C 0.162 H 312.1°. Best body text is #000000 at 8.54:1 contrast (WCAG AA passes).

Color values

HEX#CD8AF4
RGBrgb(205, 138, 244)
HSLhsl(278, 83%, 75%)
HSVhsv(278, 43%, 96%)
CMYKcmyk(16%, 43.4%, 0%, 4.3%)
CIE-LABlab(67.79, 44.05, -43.36)
CIE-LCHlch(67.79, 61.80, 315.45°)
OKLaboklab(74.03% 0.1087 -0.1203)
OKLCHoklch(74.03% 0.162 312.1)
XYZxyz(50.5916, 37.6887, 90.1799)
Luminance0.3769 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8AF4 #B1F48A
analogous
#988AF4 #CD8AF4 #F48AE6
triadic
#CD8AF4 #F4CD8A #8AF4CD
tetradic
#CD8AF4 #F4988A #B1F48A #8AE6F4
square
#CD8AF4 #F4988A #B1F48A #8AE6F4
split-complementary
#CD8AF4 #E6F48A #8AF498
monochromatic
#9D1AE9 #B552EF #CD8AF4 #E5C2F9 #F3E3FC

Accessibility & contrast

On white

2.46
#CD8AF4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.54
#CD8AF4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8AF4
8.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8AF4#FFFFFF#000000##000000
##CD8AF41.002.468.548.54
#FFFFFF2.461.0021.0021.00
#0000008.5421.001.001.00
##0000008.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#74A2F8
Deuteranopia (green-blind)
#86A7F1
Tritanopia (blue-blind)
#C99AB3
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #cd8af4;
/* rgb */ color: rgb(205, 138, 244);
/* oklch */ color: oklch(74.0% 0.162 312.1);
Tailwind
colors: {
  custom: {
    50: '#deadf8',
    500: '#cd8af4',
    950: '#000000',
  },
}
SCSS
$custom: #cd8af4;
$custom-light: #deadf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8af4",
  "rgb": {
    "r": 205,
    "g": 138,
    "b": 244
  },
  "hsl": {
    "h": 277.925,
    "s": 82.813,
    "l": 74.902
  },
  "oklch": {
    "l": 0.7403,
    "c": 0.16214,
    "h": 312.1
  },
  "luminance": 0.37688
}

Semantic roles & 50–950 ramp

primary
#CD8AF4
secondary
#E2F4D7
accent
#DF0656
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#151017
muted
#837F85

Preview Lab

Preview with #CD8AF4

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

Preview Lab → · Contrast checker → · Palette generator →

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