#CFA5FA#CFA5FA

#CFA5FA is a light, vivid violet. Relative luminance 0.471; OKLCH L 79.0% C 0.125 H 306.4°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CFA5FA
RGBrgb(207, 165, 250)
HSLhsl(270, 89%, 81%)
HSVhsv(270, 34%, 98%)
CMYKcmyk(17.2%, 34%, 0%, 2%)
CIE-LABlab(74.24, 31.30, -36.55)
CIE-LCHlch(74.24, 48.12, 310.57°)
OKLaboklab(79.03% 0.0743 -0.1008)
OKLCHoklch(79.03% 0.125 306.4)
XYZxyz(56.4392, 47.0782, 96.5376)
Luminance0.4708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA5FA #D0FAA5
analogous
#A5A6FA #CFA5FA #FAA5FA
triadic
#CFA5FA #FACFA5 #A5FACF
tetradic
#CFA5FA #FAA5A6 #D0FAA5 #A5FAFA
square
#CFA5FA #FAA5A6 #D0FAA5 #A5FAFA
split-complementary
#CFA5FA #FAFAA5 #A6FAA5
monochromatic
#9131F4 #B06BF7 #CFA5FA #EEDFFD #F0E2FD

Accessibility & contrast

On white

2.02
#CFA5FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CFA5FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA5FA
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA5FA#FFFFFF#000000##000000
##CFA5FA1.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B5FD
Deuteranopia (green-blind)
#9DB7F8
Tritanopia (blue-blind)
#C9B1C4
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfa5fa;
/* rgb */ color: rgb(207, 165, 250);
/* oklch */ color: oklch(79.0% 0.125 306.4);
Tailwind
colors: {
  custom: {
    50: '#dec0fc',
    500: '#cfa5fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfa5fa;
$custom-light: #dec0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa5fa",
  "rgb": {
    "r": 207,
    "g": 165,
    "b": 250
  },
  "hsl": {
    "h": 269.647,
    "s": 89.474,
    "l": 81.373
  },
  "oklch": {
    "l": 0.79032,
    "c": 0.12528,
    "h": 306.4
  },
  "luminance": 0.47078
}

Semantic roles & 50–950 ramp

primary
#CFA5FA
secondary
#E6F5D6
accent
#E60074
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA5FA

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

Preview Lab → · Contrast checker → · Palette generator →

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