#CFA8FA#CFA8FA

#CFA8FA is a light, vivid violet. Relative luminance 0.482; OKLCH L 79.6% C 0.120 H 305.6°. Best body text is #000000 at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#CFA8FA
RGBrgb(207, 168, 250)
HSLhsl(269, 89%, 82%)
HSVhsv(269, 33%, 98%)
CMYKcmyk(17.2%, 32.8%, 0%, 2%)
CIE-LABlab(74.93, 29.66, -35.47)
CIE-LCHlch(74.93, 46.24, 309.90°)
OKLaboklab(79.56% 0.0701 -0.0978)
OKLCHoklch(79.56% 0.12 305.6)
XYZxyz(56.9867, 48.1731, 96.7201)
Luminance0.4817 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA8FA #D3FAA8
analogous
#A8AAFA #CFA8FA #F8A8FA
triadic
#CFA8FA #FACFA8 #A8FACF
tetradic
#CFA8FA #FAA8AA #D3FAA8 #A8FAF8
square
#CFA8FA #FAA8AA #D3FAA8 #A8FAF8
split-complementary
#CFA8FA #FAF8A8 #AAFAA8
monochromatic
#8F34F3 #AF6EF7 #CFA8FA #EFE2FD #EFE2FD

Accessibility & contrast

On white

1.97
#CFA8FA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.63
#CFA8FA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA8FA
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA8FA#FFFFFF#000000##000000
##CFA8FA1.001.9710.6310.63
#FFFFFF1.971.0021.0021.00
#00000010.6321.001.001.00
##00000010.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#97B7FD
Deuteranopia (green-blind)
#9FB9F8
Tritanopia (blue-blind)
#C9B4C6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfa8fa;
/* rgb */ color: rgb(207, 168, 250);
/* oklch */ color: oklch(79.6% 0.120 305.6);
Tailwind
colors: {
  custom: {
    50: '#dec2fc',
    500: '#cfa8fa',
    950: '#000000',
  },
}
SCSS
$custom: #cfa8fa;
$custom-light: #dec2fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa8fa",
  "rgb": {
    "r": 207,
    "g": 168,
    "b": 250
  },
  "hsl": {
    "h": 268.537,
    "s": 89.13,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79561,
    "c": 0.12031,
    "h": 305.6
  },
  "luminance": 0.48173
}

Semantic roles & 50–950 ramp

primary
#CFA8FA
secondary
#E6F5D6
accent
#E60078
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA8FA

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

Preview Lab → · Contrast checker → · Palette generator →

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