#CDA1F8#CDA1F8

#CDA1F8 is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.1% C 0.129 H 306.8°. Best body text is #000000 at 10.05:1 contrast (WCAG AA passes).

Color values

HEX#CDA1F8
RGBrgb(205, 161, 248)
HSLhsl(270, 86%, 80%)
HSVhsv(270, 35%, 97%)
CMYKcmyk(17.3%, 35.1%, 0%, 2.7%)
CIE-LABlab(73.05, 32.45, -37.32)
CIE-LCHlch(73.05, 49.46, 311.01°)
OKLaboklab(78.06% 0.0772 -0.1031)
OKLCHoklch(78.06% 0.129 306.8)
XYZxyz(54.8617, 45.2466, 94.6320)
Luminance0.4525 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA1F8 #CCF8A1
analogous
#A1A1F8 #CDA1F8 #F8A1F7
triadic
#CDA1F8 #F8CDA1 #A1F8CD
tetradic
#CDA1F8 #F8A1A1 #CCF8A1 #A1F7F8
square
#CDA1F8 #F8A1A1 #CCF8A1 #A1F7F8
split-complementary
#CDA1F8 #F7F8A1 #A1F8A1
monochromatic
#902FF0 #AF68F4 #CDA1F8 #EBDAFC #F0E3FD

Accessibility & contrast

On white

2.09
#CDA1F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.05
#CDA1F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA1F8
10.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA1F8#FFFFFF#000000##000000
##CDA1F81.002.0910.0510.05
#FFFFFF2.091.0021.0021.00
#00000010.0521.001.001.00
##00000010.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB2FB
Deuteranopia (green-blind)
#99B4F6
Tritanopia (blue-blind)
#C7AEC1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cda1f8;
/* rgb */ color: rgb(205, 161, 248);
/* oklch */ color: oklch(78.1% 0.129 306.8);
Tailwind
colors: {
  custom: {
    50: '#ddbdfb',
    500: '#cda1f8',
    950: '#000000',
  },
}
SCSS
$custom: #cda1f8;
$custom-light: #ddbdfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cda1f8",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 248
  },
  "hsl": {
    "h": 270.345,
    "s": 86.139,
    "l": 80.196
  },
  "oklch": {
    "l": 0.7806,
    "c": 0.12879,
    "h": 306.8
  },
  "luminance": 0.45246
}

Semantic roles & 50–950 ramp

primary
#CDA1F8
secondary
#E5F5D6
accent
#E30371
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA1F8

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

Preview Lab → · Contrast checker → · Palette generator →

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