#CFA6FA#CFA6FA

#CFA6FA is a light, vivid violet. Relative luminance 0.474; OKLCH L 79.2% C 0.124 H 306.1°. Best body text is #000000 at 10.49:1 contrast (WCAG AA passes).

Color values

HEX#CFA6FA
RGBrgb(207, 166, 250)
HSLhsl(269, 89%, 82%)
HSVhsv(269, 34%, 98%)
CMYKcmyk(17.2%, 33.6%, 0%, 2%)
CIE-LABlab(74.47, 30.75, -36.19)
CIE-LCHlch(74.47, 47.49, 310.35°)
OKLaboklab(79.21% 0.0729 -0.0998)
OKLCHoklch(79.21% 0.124 306.1)
XYZxyz(56.6203, 47.4403, 96.5980)
Luminance0.4744 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA6FA #D1FAA6
analogous
#A6A7FA #CFA6FA #F9A6FA
triadic
#CFA6FA #FACFA6 #A6FACF
tetradic
#CFA6FA #FAA6A7 #D1FAA6 #A6FAF9
square
#CFA6FA #FAA6A7 #D1FAA6 #A6FAF9
split-complementary
#CFA6FA #FAF9A6 #A7FAA6
monochromatic
#9032F3 #B06CF7 #CFA6FA #EEE0FD #EFE2FD

Accessibility & contrast

On white

2.00
#CFA6FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.49
#CFA6FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA6FA
10.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA6FA#FFFFFF#000000##000000
##CFA6FA1.002.0010.4910.49
#FFFFFF2.001.0021.0021.00
#00000010.4921.001.001.00
##00000010.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B6FD
Deuteranopia (green-blind)
#9DB8F8
Tritanopia (blue-blind)
#C9B2C5
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfa6fa;
/* rgb */ color: rgb(207, 166, 250);
/* oklch */ color: oklch(79.2% 0.124 306.1);
Tailwind
colors: {
  custom: {
    50: '#dec0fc',
    500: '#cfa6fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfa6fa;
$custom-light: #dec0fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa6fa",
  "rgb": {
    "r": 207,
    "g": 166,
    "b": 250
  },
  "hsl": {
    "h": 269.286,
    "s": 89.362,
    "l": 81.569
  },
  "oklch": {
    "l": 0.79208,
    "c": 0.12362,
    "h": 306.1
  },
  "luminance": 0.4744
}

Semantic roles & 50–950 ramp

primary
#CFA6FA
secondary
#E6F5D6
accent
#E60075
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA6FA

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

Preview Lab → · Contrast checker → · Palette generator →

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