#CDA2FB#CDA2FB

#CDA2FB is a light, vivid violet. Relative luminance 0.458; OKLCH L 78.4% C 0.131 H 305.8°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CDA2FB
RGBrgb(205, 162, 251)
HSLhsl(269, 92%, 81%)
HSVhsv(269, 35%, 98%)
CMYKcmyk(18.3%, 35.5%, 0%, 1.6%)
CIE-LABlab(73.41, 32.56, -38.40)
CIE-LCHlch(73.41, 50.35, 310.30°)
OKLaboklab(78.37% 0.0765 -0.1062)
OKLCHoklch(78.37% 0.131 305.8)
XYZxyz(55.5063, 45.7851, 97.1613)
Luminance0.4578 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CDA2FB #D0FBA2
analogous
#A2A3FB #CDA2FB #FAA2FB
triadic
#CDA2FB #FBCDA2 #A2FBCD
tetradic
#CDA2FB #FBA2A3 #D0FBA2 #A2FBFA
square
#CDA2FB #FBA2A3 #D0FBA2 #A2FBFA
split-complementary
#CDA2FB #FBFAA2 #A3FBA2
monochromatic
#8E2DF6 #AD67F8 #CDA2FB #EDDDFE #EFE2FE

Accessibility & contrast

On white

2.07
#CDA2FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CDA2FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CDA2FB
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CDA2FB#FFFFFF#000000##000000
##CDA2FB1.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FE
Deuteranopia (green-blind)
#98B5F8
Tritanopia (blue-blind)
#C6AFC3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cda2fb;
/* rgb */ color: rgb(205, 162, 251);
/* oklch */ color: oklch(78.4% 0.131 305.8);
Tailwind
colors: {
  custom: {
    50: '#ddbefd',
    500: '#cda2fb',
    950: '#000000',
  },
}
SCSS
$custom: #cda2fb;
$custom-light: #ddbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#cda2fb",
  "rgb": {
    "r": 205,
    "g": 162,
    "b": 251
  },
  "hsl": {
    "h": 268.989,
    "s": 91.753,
    "l": 80.98
  },
  "oklch": {
    "l": 0.78368,
    "c": 0.13086,
    "h": 305.8
  },
  "luminance": 0.45785
}

Semantic roles & 50–950 ramp

primary
#CDA2FB
secondary
#E6F6D5
accent
#E60077
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CDA2FB

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

Preview Lab → · Contrast checker → · Palette generator →

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