#CFA2FA#CFA2FA

#CFA2FA is a light, vivid violet. Relative luminance 0.460; OKLCH L 78.5% C 0.130 H 307.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#CFA2FA
RGBrgb(207, 162, 250)
HSLhsl(271, 90%, 81%)
HSVhsv(271, 35%, 98%)
CMYKcmyk(17.2%, 35.2%, 0%, 2%)
CIE-LABlab(73.55, 32.93, -37.62)
CIE-LCHlch(73.55, 50.00, 311.20°)
OKLaboklab(78.51% 0.0786 -0.1039)
OKLCHoklch(78.51% 0.13 307.1)
XYZxyz(55.9045, 46.0086, 96.3594)
Luminance0.4601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2FA #CDFAA2
analogous
#A3A2FA #CFA2FA #FAA2F9
triadic
#CFA2FA #FACFA2 #A2FACF
tetradic
#CFA2FA #FAA3A2 #CDFAA2 #A2F9FA
square
#CFA2FA #FAA3A2 #CDFAA2 #A2F9FA
split-complementary
#CFA2FA #F9FAA2 #A2FAA3
monochromatic
#932EF4 #B168F7 #CFA2FA #EDDCFD #F0E2FD

Accessibility & contrast

On white

2.06
#CFA2FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#CFA2FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2FA
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2FA#FFFFFF#000000##000000
##CFA2FA1.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B3FD
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#C9AFC3
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa2fa;
/* rgb */ color: rgb(207, 162, 250);
/* oklch */ color: oklch(78.5% 0.130 307.1);
Tailwind
colors: {
  custom: {
    50: '#dfbefc',
    500: '#cfa2fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2fa;
$custom-light: #dfbefc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2fa",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 250
  },
  "hsl": {
    "h": 270.682,
    "s": 89.796,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78508,
    "c": 0.13024,
    "h": 307.1
  },
  "luminance": 0.46008
}

Semantic roles & 50–950 ramp

primary
#CFA2FA
secondary
#E5F6D5
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA2FA

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

Preview Lab → · Contrast checker → · Palette generator →

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