#CFA2FC#CFA2FC

#CFA2FC is a light, vivid violet. Relative luminance 0.461; OKLCH L 78.6% C 0.133 H 306.5°. Best body text is #000000 at 10.23:1 contrast (WCAG AA passes).

Color values

HEX#CFA2FC
RGBrgb(207, 162, 252)
HSLhsl(270, 94%, 81%)
HSVhsv(270, 36%, 99%)
CMYKcmyk(17.9%, 35.7%, 0%, 1.2%)
CIE-LABlab(73.63, 33.37, -38.58)
CIE-LCHlch(73.63, 51.00, 310.86°)
OKLaboklab(78.6% 0.079 -0.1066)
OKLCHoklch(78.6% 0.133 306.5)
XYZxyz(56.2197, 46.1347, 98.0198)
Luminance0.4613 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2FC #CFFCA2
analogous
#A2A2FC #CFA2FC #FCA2FC
triadic
#CFA2FC #FCCFA2 #A2FCCF
tetradic
#CFA2FC #FCA2A2 #CFFCA2 #A2FCFC
square
#CFA2FC #FCA2A2 #CFFCA2 #A2FCFC
split-complementary
#CFA2FC #FCFCA2 #A2FCA2
monochromatic
#922BF8 #B067FA #CFA2FC #EEDDFE #F0E1FE

Accessibility & contrast

On white

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

On black

10.23
#CFA2FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2FC
10.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2FC#FFFFFF#000000##000000
##CFA2FC1.002.0510.2310.23
#FFFFFF2.051.0021.0021.00
#00000010.2321.001.001.00
##00000010.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB3FF
Deuteranopia (green-blind)
#99B5F9
Tritanopia (blue-blind)
#C9AFC3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa2fc;
/* rgb */ color: rgb(207, 162, 252);
/* oklch */ color: oklch(78.6% 0.133 306.5);
Tailwind
colors: {
  custom: {
    50: '#dfbefd',
    500: '#cfa2fc',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2fc;
$custom-light: #dfbefd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2fc",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 252
  },
  "hsl": {
    "h": 270,
    "s": 93.75,
    "l": 81.176
  },
  "oklch": {
    "l": 0.78597,
    "c": 0.1327,
    "h": 306.5
  },
  "luminance": 0.46134
}

Semantic roles & 50–950 ramp

primary
#CFA2FC
secondary
#E6F6D5
accent
#E60073
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA2FC

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

Preview Lab → · Contrast checker → · Palette generator →

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