#CCA5FA#CCA5FA

#CCA5FA is a light, vivid violet. Relative luminance 0.467; OKLCH L 78.8% C 0.124 H 304.8°. Best body text is #000000 at 10.33:1 contrast (WCAG AA passes).

Color values

HEX#CCA5FA
RGBrgb(204, 165, 250)
HSLhsl(268, 89%, 81%)
HSVhsv(268, 34%, 98%)
CMYKcmyk(18.4%, 34%, 0%, 2%)
CIE-LABlab(73.97, 30.41, -37.00)
CIE-LCHlch(73.97, 47.89, 309.42°)
OKLaboklab(78.76% 0.0709 -0.1022)
OKLCHoklch(78.76% 0.124 304.8)
XYZxyz(55.6088, 46.6500, 96.4987)
Luminance0.4665 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CCA5FA #D3FAA5
analogous
#A5A9FA #CCA5FA #F6A5FA
triadic
#CCA5FA #FACCA5 #A5FACC
tetradic
#CCA5FA #FAA5A9 #D3FAA5 #A5FAF6
square
#CCA5FA #FAA5A9 #D3FAA5 #A5FAF6
split-complementary
#CCA5FA #FAF6A5 #A9FAA5
monochromatic
#8A31F4 #AB6BF7 #CCA5FA #EDDFFD #EFE2FD

Accessibility & contrast

On white

2.03
#CCA5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.33
#CCA5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CCA5FA
10.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CCA5FA#FFFFFF#000000##000000
##CCA5FA1.002.0310.3310.33
#FFFFFF2.031.0021.0021.00
#00000010.3321.001.001.00
##00000010.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#93B5FD
Deuteranopia (green-blind)
#9BB6F8
Tritanopia (blue-blind)
#C5B2C4
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cca5fa;
/* rgb */ color: rgb(204, 165, 250);
/* oklch */ color: oklch(78.8% 0.124 304.8);
Tailwind
colors: {
  custom: {
    50: '#dcc0fc',
    500: '#cca5fa',
    950: '#000000',
  },
}
SCSS
$custom: #cca5fa;
$custom-light: #dcc0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cca5fa",
  "rgb": {
    "r": 204,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 267.529,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.78759,
    "c": 0.12438,
    "h": 304.8
  },
  "luminance": 0.4665
}

Semantic roles & 50–950 ramp

primary
#CCA5FA
secondary
#E7F5D6
accent
#E6007C
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CCA5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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