#CFA7F9#CFA7F9

#CFA7F9 is a light, vivid violet. Relative luminance 0.477; OKLCH L 79.3% C 0.121 H 306.2°. Best body text is #000000 at 10.55:1 contrast (WCAG AA passes).

Color values

HEX#CFA7F9
RGBrgb(207, 167, 249)
HSLhsl(269, 87%, 82%)
HSVhsv(269, 33%, 98%)
CMYKcmyk(16.9%, 32.9%, 0%, 2.4%)
CIE-LABlab(74.66, 29.99, -35.35)
CIE-LCHlch(74.66, 46.36, 310.30°)
OKLaboklab(79.34% 0.0713 -0.0974)
OKLCHoklch(79.34% 0.121 306.2)
XYZxyz(56.6464, 47.7427, 95.8352)
Luminance0.4774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA7F9 #D1F9A7
analogous
#A7A8F9 #CFA7F9 #F8A7F9
triadic
#CFA7F9 #F9CFA7 #A7F9CF
tetradic
#CFA7F9 #F9A7A8 #D1F9A7 #A7F9F8
square
#CFA7F9 #F9A7A8 #D1F9A7 #A7F9F8
split-complementary
#CFA7F9 #F9F8A7 #A8F9A7
monochromatic
#9034F1 #B06EF5 #CFA7F9 #EEE0FD #EFE2FD

Accessibility & contrast

On white

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

On black

10.55
#CFA7F9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA7F9
10.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA7F9#FFFFFF#000000##000000
##CFA7F91.001.9910.5510.55
#FFFFFF1.991.0021.0021.00
#00000010.5521.001.001.00
##00000010.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B6FC
Deuteranopia (green-blind)
#9FB8F7
Tritanopia (blue-blind)
#C9B3C5
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfa7f9;
/* rgb */ color: rgb(207, 167, 249);
/* oklch */ color: oklch(79.3% 0.121 306.2);
Tailwind
colors: {
  custom: {
    50: '#dec1fb',
    500: '#cfa7f9',
    950: '#000000',
  },
}
SCSS
$custom: #cfa7f9;
$custom-light: #dec1fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa7f9",
  "rgb": {
    "r": 207,
    "g": 167,
    "b": 249
  },
  "hsl": {
    "h": 269.268,
    "s": 87.234,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79341,
    "c": 0.12072,
    "h": 306.2
  },
  "luminance": 0.47742
}

Semantic roles & 50–950 ramp

primary
#CFA7F9
secondary
#E6F5D6
accent
#E40276
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA7F9

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

Preview Lab → · Contrast checker → · Palette generator →

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