#CFA7FD#CFA7FD

#CFA7FD is a light, vivid violet. Relative luminance 0.480; OKLCH L 79.5% C 0.126 H 305.1°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).

Color values

HEX#CFA7FD
RGBrgb(207, 167, 253)
HSLhsl(268, 96%, 82%)
HSVhsv(268, 34%, 99%)
CMYKcmyk(18.2%, 34%, 0%, 0.8%)
CIE-LABlab(74.82, 30.86, -37.27)
CIE-LCHlch(74.82, 48.38, 309.62°)
OKLaboklab(79.52% 0.0722 -0.1029)
OKLCHoklch(79.52% 0.126 305.1)
XYZxyz(57.2769, 47.9949, 99.1560)
Luminance0.4799 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA7FD #D5FDA7
analogous
#A7AAFD #CFA7FD #FAA7FD
triadic
#CFA7FD #FDCFA7 #A7FDCF
tetradic
#CFA7FD #FDA7AA #D5FDA7 #A7FDFA
square
#CFA7FD #FDA7AA #D5FDA7 #A7FDFA
split-complementary
#CFA7FD #FDFAA7 #AAFDA7
monochromatic
#8E2FFA #AE6BFC #CFA7FD #EFE1FE #EFE1FE

Accessibility & contrast

On white

1.98
#CFA7FD on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.60
#CFA7FD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA7FD
10.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA7FD#FFFFFF#000000##000000
##CFA7FD1.001.9810.6010.60
#FFFFFF1.981.0021.0021.00
#00000010.6021.001.001.00
##00000010.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#95B7FF
Deuteranopia (green-blind)
#9DB8FB
Tritanopia (blue-blind)
#C8B4C7
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfa7fd;
/* rgb */ color: rgb(207, 167, 253);
/* oklch */ color: oklch(79.5% 0.126 305.1);
Tailwind
colors: {
  custom: {
    50: '#dfc1fe',
    500: '#cfa7fd',
    950: '#000000',
  },
}
SCSS
$custom: #cfa7fd;
$custom-light: #dfc1fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa7fd",
  "rgb": {
    "r": 207,
    "g": 167,
    "b": 253
  },
  "hsl": {
    "h": 267.907,
    "s": 95.556,
    "l": 82.353
  },
  "oklch": {
    "l": 0.79515,
    "c": 0.12572,
    "h": 305.1
  },
  "luminance": 0.47995
}

Semantic roles & 50–950 ramp

primary
#CFA7FD
secondary
#E7F7D4
accent
#E6007B
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151218
muted
#838186

Preview Lab

Preview with #CFA7FD

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

Preview Lab → · Contrast checker → · Palette generator →

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