#CFA2F9#CFA2F9

#CFA2F9 is a light, vivid violet. Relative luminance 0.459; OKLCH L 78.5% C 0.129 H 307.4°. Best body text is #000000 at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#CFA2F9
RGBrgb(207, 162, 249)
HSLhsl(271, 88%, 81%)
HSVhsv(271, 35%, 98%)
CMYKcmyk(16.9%, 34.9%, 0%, 2.4%)
CIE-LABlab(73.51, 32.72, -37.14)
CIE-LCHlch(73.51, 49.49, 311.38°)
OKLaboklab(78.46% 0.0783 -0.1025)
OKLCHoklch(78.46% 0.129 307.4)
XYZxyz(55.7481, 45.9461, 95.5358)
Luminance0.4595 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2F9 #CCF9A2
analogous
#A3A2F9 #CFA2F9 #F9A2F8
triadic
#CFA2F9 #F9CFA2 #A2F9CF
tetradic
#CFA2F9 #F9A3A2 #CCF9A2 #A2F8F9
square
#CFA2F9 #F9A3A2 #CCF9A2 #A2F8F9
split-complementary
#CFA2F9 #F8F9A2 #A2F9A3
monochromatic
#942FF2 #B169F5 #CFA2F9 #EDDBFD #F0E2FD

Accessibility & contrast

On white

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

On black

10.19
#CFA2F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2F9
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2F9#FFFFFF#000000##000000
##CFA2F91.002.0610.1910.19
#FFFFFF2.061.0021.0021.00
#00000010.1921.001.001.00
##00000010.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B3FC
Deuteranopia (green-blind)
#9AB5F7
Tritanopia (blue-blind)
#C9AFC2
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfa2f9;
/* rgb */ color: rgb(207, 162, 249);
/* oklch */ color: oklch(78.5% 0.129 307.4);
Tailwind
colors: {
  custom: {
    50: '#dfbefb',
    500: '#cfa2f9',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2f9;
$custom-light: #dfbefb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2f9",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 249
  },
  "hsl": {
    "h": 271.034,
    "s": 87.879,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78464,
    "c": 0.12901,
    "h": 307.4
  },
  "luminance": 0.45946
}

Semantic roles & 50–950 ramp

primary
#CFA2F9
secondary
#E5F5D6
accent
#E4016F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA2F9

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

Preview Lab → · Contrast checker → · Palette generator →

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