#CDA1F7#CDA1F7

#CDA1F7 is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.0% C 0.128 H 307.1°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CDA1F7
RGBrgb(205, 161, 247)
HSLhsl(271, 84%, 80%)
HSVhsv(271, 35%, 97%)
CMYKcmyk(17%, 34.8%, 0%, 3.1%)
CIE-LABlab(73.01, 32.24, -36.84)
CIE-LCHlch(73.01, 48.96, 311.19°)
OKLaboklab(78.02% 0.077 -0.1017)
OKLCHoklch(78.02% 0.128 307.1)
XYZxyz(54.7070, 45.1847, 93.8171)
Luminance0.4518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA1F7 #CBF7A1
analogous
#A2A1F7 #CDA1F7 #F7A1F6
triadic
#CDA1F7 #F7CDA1 #A1F7CD
tetradic
#CDA1F7 #F7A2A1 #CBF7A1 #A1F6F7
square
#CDA1F7 #F7A2A1 #CBF7A1 #A1F6F7
split-complementary
#CDA1F7 #F6F7A1 #A1F7A2
monochromatic
#9130ED #AF69F2 #CDA1F7 #EBD9FC #F0E3FD

Accessibility & contrast

On white

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

On black

10.04
#CDA1F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA1F7
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA1F7#FFFFFF#000000##000000
##CDA1F71.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B1FA
Deuteranopia (green-blind)
#99B4F5
Tritanopia (blue-blind)
#C7AEC1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cda1f7;
/* rgb */ color: rgb(205, 161, 247);
/* oklch */ color: oklch(78.0% 0.128 307.1);
Tailwind
colors: {
  custom: {
    50: '#ddbdfa',
    500: '#cda1f7',
    950: '#000000',
  },
}
SCSS
$custom: #cda1f7;
$custom-light: #ddbdfa;
$custom-dark: #000000;
JSON
{
  "hex": "#cda1f7",
  "rgb": {
    "r": 205,
    "g": 161,
    "b": 247
  },
  "hsl": {
    "h": 270.698,
    "s": 84.314,
    "l": 80
  },
  "oklch": {
    "l": 0.78016,
    "c": 0.12756,
    "h": 307.1
  },
  "luminance": 0.45184
}

Semantic roles & 50–950 ramp

primary
#CDA1F7
secondary
#E5F5D6
accent
#E10570
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA1F7

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

Preview Lab → · Contrast checker → · Palette generator →

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