#CFA2F7#CFA2F7

#CFA2F7 is a light, vivid violet. Relative luminance 0.458; OKLCH L 78.4% C 0.127 H 308.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).

Color values

HEX#CFA2F7
RGBrgb(207, 162, 247)
HSLhsl(272, 84%, 80%)
HSVhsv(272, 34%, 97%)
CMYKcmyk(16.2%, 34.4%, 0%, 3.1%)
CIE-LABlab(73.43, 32.29, -36.18)
CIE-LCHlch(73.43, 48.49, 311.74°)
OKLaboklab(78.38% 0.0779 -0.0998)
OKLCHoklch(78.38% 0.127 308)
XYZxyz(55.4378, 45.8220, 93.9017)
Luminance0.4582 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA2F7 #CAF7A2
analogous
#A5A2F7 #CFA2F7 #F7A2F4
triadic
#CFA2F7 #F7CFA2 #A2F7CF
tetradic
#CFA2F7 #F7A5A2 #CAF7A2 #A2F4F7
square
#CFA2F7 #F7A5A2 #CAF7A2 #A2F4F7
split-complementary
#CFA2F7 #F4F7A2 #A2F7A5
monochromatic
#9531ED #B26AF2 #CFA2F7 #ECDAFC #F0E3FD

Accessibility & contrast

On white

2.07
#CFA2F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.16
#CFA2F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA2F7
10.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA2F7#FFFFFF#000000##000000
##CFA2F71.002.0710.1610.16
#FFFFFF2.071.0021.0021.00
#00000010.1621.001.001.00
##00000010.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#91B2FA
Deuteranopia (green-blind)
#9BB5F5
Tritanopia (blue-blind)
#CAAEC1
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfa2f7;
/* rgb */ color: rgb(207, 162, 247);
/* oklch */ color: oklch(78.4% 0.127 308.0);
Tailwind
colors: {
  custom: {
    50: '#debefa',
    500: '#cfa2f7',
    950: '#000000',
  },
}
SCSS
$custom: #cfa2f7;
$custom-light: #debefa;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa2f7",
  "rgb": {
    "r": 207,
    "g": 162,
    "b": 247
  },
  "hsl": {
    "h": 271.765,
    "s": 84.158,
    "l": 80.196
  },
  "oklch": {
    "l": 0.78376,
    "c": 0.12656,
    "h": 308
  },
  "luminance": 0.45821
}

Semantic roles & 50–950 ramp

primary
#CFA2F7
secondary
#E5F5D6
accent
#E1056C
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA2F7

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

Preview Lab → · Contrast checker → · Palette generator →

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