#CDA8FB#CDA8FB

#CDA8FB is a light, vivid violet. Relative luminance 0.479; OKLCH L 79.4% C 0.121 H 304.2°. Best body text is #000000 at 10.59:1 contrast (WCAG AA passes).

Color values

HEX#CDA8FB
RGBrgb(205, 168, 251)
HSLhsl(267, 91%, 82%)
HSVhsv(267, 33%, 98%)
CMYKcmyk(18.3%, 33.1%, 0%, 1.6%)
CIE-LABlab(74.79, 29.28, -36.25)
CIE-LCHlch(74.79, 46.60, 308.93°)
OKLaboklab(79.42% 0.0681 -0.1)
OKLCHoklch(79.42% 0.121 304.2)
XYZxyz(56.5885, 47.9496, 97.5221)
Luminance0.4795 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA8FB #D6FBA8
analogous
#A8ADFB #CDA8FB #F7A8FB
triadic
#CDA8FB #FBCDA8 #A8FBCD
tetradic
#CDA8FB #FBA8AD #D6FBA8 #A8FBF7
square
#CDA8FB #FBA8AD #D6FBA8 #A8FBF7
split-complementary
#CDA8FB #FBF7A8 #ADFBA8
monochromatic
#8A33F6 #AB6DF8 #CDA8FB #EEE2FE #EEE2FE

Accessibility & contrast

On white

1.98
#CDA8FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.59
#CDA8FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA8FB
10.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA8FB#FFFFFF#000000##000000
##CDA8FB1.001.9810.5910.59
#FFFFFF1.981.0021.0021.00
#00000010.5921.001.001.00
##00000010.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FE
Deuteranopia (green-blind)
#9EB8F9
Tritanopia (blue-blind)
#C6B4C6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cda8fb;
/* rgb */ color: rgb(205, 168, 251);
/* oklch */ color: oklch(79.4% 0.121 304.2);
Tailwind
colors: {
  custom: {
    50: '#ddc2fd',
    500: '#cda8fb',
    950: '#000000',
  },
}
SCSS
$custom: #cda8fb;
$custom-light: #ddc2fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cda8fb",
  "rgb": {
    "r": 205,
    "g": 168,
    "b": 251
  },
  "hsl": {
    "h": 266.747,
    "s": 91.209,
    "l": 82.157
  },
  "oklch": {
    "l": 0.79424,
    "c": 0.121,
    "h": 304.2
  },
  "luminance": 0.47949
}

Semantic roles & 50–950 ramp

primary
#CDA8FB
secondary
#E7F6D5
accent
#E6007F
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA8FB

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

Preview Lab → · Contrast checker → · Palette generator →

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