#CD8FFB#CD8FFB

#CD8FFB is a light, vivid violet. Relative luminance 0.396; OKLCH L 75.2% C 0.162 H 309.4°. Best body text is #000000 at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#CD8FFB
RGBrgb(205, 143, 251)
HSLhsl(274, 93%, 77%)
HSVhsv(274, 43%, 98%)
CMYKcmyk(18.3%, 43%, 0%, 1.6%)
CIE-LABlab(69.18, 42.87, -45.01)
CIE-LCHlch(69.18, 62.16, 313.60°)
OKLaboklab(75.17% 0.1029 -0.1251)
OKLCHoklch(75.17% 0.162 309.4)
XYZxyz(52.4086, 39.5898, 96.1288)
Luminance0.3959 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CD8FFB #BDFB8F
analogous
#978FFB #CD8FFB #FB8FF3
triadic
#CD8FFB #FBCD8F #8FFBCD
tetradic
#CD8FFB #FB978F #BDFB8F #8FF3FB
square
#CD8FFB #FB978F #BDFB8F #8FF3FB
split-complementary
#CD8FFB #F3FB8F #8FFB97
monochromatic
#9819F7 #B354F9 #CD8FFB #E7CAFD #F2E1FE

Accessibility & contrast

On white

2.35
#CD8FFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.92
#CD8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CD8FFB
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CD8FFB#FFFFFF#000000##000000
##CD8FFB1.002.358.928.92
#FFFFFF2.351.0021.0021.00
#0000008.9221.001.001.00
##0000008.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A6FF
Deuteranopia (green-blind)
#87AAF8
Tritanopia (blue-blind)
#C7A0B9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cd8ffb;
/* rgb */ color: rgb(205, 143, 251);
/* oklch */ color: oklch(75.2% 0.162 309.4);
Tailwind
colors: {
  custom: {
    50: '#deb1fd',
    500: '#cd8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #cd8ffb;
$custom-light: #deb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cd8ffb",
  "rgb": {
    "r": 205,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 274.444,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.75173,
    "c": 0.16201,
    "h": 309.4
  },
  "luminance": 0.39589
}

Semantic roles & 50–950 ramp

primary
#CD8FFB
secondary
#E3F6D5
accent
#E60062
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151117
muted
#838085

Preview Lab

Preview with #CD8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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