#CFA7FB#CFA7FB

#CFA7FB is a light, vivid violet. Relative luminance 0.479; OKLCH L 79.4% C 0.123 H 305.6°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).

Color values

HEX#CFA7FB
RGBrgb(207, 167, 251)
HSLhsl(269, 91%, 82%)
HSVhsv(269, 33%, 98%)
CMYKcmyk(17.5%, 33.5%, 0%, 1.6%)
CIE-LABlab(74.74, 30.42, -36.31)
CIE-LCHlch(74.74, 47.37, 309.95°)
OKLaboklab(79.43% 0.0717 -0.1002)
OKLCHoklch(79.43% 0.123 305.6)
XYZxyz(56.9600, 47.8682, 97.4868)
Luminance0.4787 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA7FB #D3FBA7
analogous
#A7A9FB #CFA7FB #F9A7FB
triadic
#CFA7FB #FBCFA7 #A7FBCF
tetradic
#CFA7FB #FBA7A9 #D3FBA7 #A7FBF9
square
#CFA7FB #FBA7A9 #D3FBA7 #A7FBF9
split-complementary
#CFA7FB #FBF9A7 #A9FBA7
monochromatic
#8F32F6 #AF6CF8 #CFA7FB #EFE2FE #EFE2FE

Accessibility & contrast

On white

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

On black

10.57
#CFA7FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA7FB
10.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA7FB#FFFFFF#000000##000000
##CFA7FB1.001.9910.5710.57
#FFFFFF1.991.0021.0021.00
#00000010.5721.001.001.00
##00000010.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#96B7FE
Deuteranopia (green-blind)
#9EB8F9
Tritanopia (blue-blind)
#C9B3C6
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #cfa7fb;
/* rgb */ color: rgb(207, 167, 251);
/* oklch */ color: oklch(79.4% 0.123 305.6);
Tailwind
colors: {
  custom: {
    50: '#dec1fd',
    500: '#cfa7fb',
    950: '#000000',
  },
}
SCSS
$custom: #cfa7fb;
$custom-light: #dec1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa7fb",
  "rgb": {
    "r": 207,
    "g": 167,
    "b": 251
  },
  "hsl": {
    "h": 268.571,
    "s": 91.304,
    "l": 81.961
  },
  "oklch": {
    "l": 0.79428,
    "c": 0.12322,
    "h": 305.6
  },
  "luminance": 0.47868
}

Semantic roles & 50–950 ramp

primary
#CFA7FB
secondary
#E6F6D5
accent
#E60078
background
#FDFBFF
surface
#FBF7FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA7FB

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

Preview Lab → · Contrast checker → · Palette generator →

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