#CFA2FD#CFA2FD

#CFA2FD is a light, vivid violet. Relative luminance 0.462; OKLCH L 78.6% C 0.134 H 306.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CFA2FD
RGBrgb(207, 162, 253)
HSLhsl(270, 96%, 81%)
HSVhsv(270, 36%, 99%)
CMYKcmyk(18.2%, 36%, 0%, 0.8%)
CIE-LABlab(73.67, 33.58, -39.05)
CIE-LCHlch(73.67, 51.51, 310.69°)
OKLaboklab(78.64% 0.0792 -0.108)
OKLCHoklch(78.64% 0.134 306.3)
XYZxyz(56.3786, 46.1983, 98.8565)
Luminance0.4620 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2FD #D0FDA2
analogous
#A2A3FD #CFA2FD #FCA2FD
triadic
#CFA2FD #FDCFA2 #A2FDCF
tetradic
#CFA2FD #FDA2A3 #D0FDA2 #A2FDFC
square
#CFA2FD #FDA2A3 #D0FDA2 #A2FDFC
split-complementary
#CFA2FD #FDFCA2 #A3FDA2
monochromatic
#912AFA #B066FC #CFA2FD #EEDEFE #F0E1FE

Accessibility & contrast

On white

2.05
#CFA2FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CFA2FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2FD
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2FD#FFFFFF#000000##000000
##CFA2FD1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#98B5FA
Tritanopia (blue-blind)
#C8B0C4
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa2fd;
/* rgb */ color: rgb(207, 162, 253);
/* oklch */ color: oklch(78.6% 0.134 306.3);
Tailwind
colors: {
  custom: {
    50: '#dfbefe',
    500: '#cfa2fd',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2fd;
$custom-light: #dfbefe;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2fd",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 253
  },
  "hsl": {
    "h": 269.67,
    "s": 95.789,
    "l": 81.373
  },
  "oklch": {
    "l": 0.78642,
    "c": 0.13393,
    "h": 306.3
  },
  "luminance": 0.46198
}

Semantic roles & 50–950 ramp

primary
#CFA2FD
secondary
#E6F7D4
accent
#E60074
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFA2FD

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

Preview Lab → · Contrast checker → · Palette generator →

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