#CFA7FA#CFA7FA

#CFA7FA is a light, vivid violet. Relative luminance 0.478; OKLCH L 79.4% C 0.122 H 305.9°. Best body text is #000000 at 10.56:1 contrast (WCAG AA passes).

Color values

HEX#CFA7FA
RGBrgb(207, 167, 250)
HSLhsl(269, 89%, 82%)
HSVhsv(269, 33%, 98%)
CMYKcmyk(17.2%, 33.2%, 0%, 2%)
CIE-LABlab(74.70, 30.20, -35.83)
CIE-LCHlch(74.70, 46.86, 310.13°)
OKLaboklab(79.38% 0.0715 -0.0988)
OKLCHoklch(79.38% 0.122 305.9)
XYZxyz(56.8028, 47.8053, 96.6588)
Luminance0.4780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA7FA #D2FAA7
analogous
#A7A9FA #CFA7FA #F9A7FA
triadic
#CFA7FA #FACFA7 #A7FACF
tetradic
#CFA7FA #FAA7A9 #D2FAA7 #A7FAF9
square
#CFA7FA #FAA7A9 #D2FAA7 #A7FAF9
split-complementary
#CFA7FA #FAF9A7 #A9FAA7
monochromatic
#9033F3 #AF6DF7 #CFA7FA #EFE1FD #EFE2FD

Accessibility & contrast

On white

1.99
#CFA7FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.56
#CFA7FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA7FA
10.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA7FA#FFFFFF#000000##000000
##CFA7FA1.001.9910.5610.56
#FFFFFF1.991.0021.0021.00
#00000010.5621.001.001.00
##00000010.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B6FD
Deuteranopia (green-blind)
#9EB8F8
Tritanopia (blue-blind)
#C9B3C5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfa7fa;
/* rgb */ color: rgb(207, 167, 250);
/* oklch */ color: oklch(79.4% 0.122 305.9);
Tailwind
colors: {
  custom: {
    50: '#dec1fc',
    500: '#cfa7fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfa7fa;
$custom-light: #dec1fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa7fa",
  "rgb": {
    "r": 207,
    "g": 167,
    "b": 250
  },
  "hsl": {
    "h": 268.916,
    "s": 89.247,
    "l": 81.765
  },
  "oklch": {
    "l": 0.79384,
    "c": 0.12197,
    "h": 305.9
  },
  "luminance": 0.47805
}

Semantic roles & 50–950 ramp

primary
#CFA7FA
secondary
#E6F5D6
accent
#E60077
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA7FA

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

Preview Lab → · Contrast checker → · Palette generator →

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