#CFA0FC#CFA0FC

#CFA0FC is a light, vivid violet. Relative luminance 0.454; OKLCH L 78.3% C 0.136 H 307.0°. Best body text is #000000 at 10.09:1 contrast (WCAG AA passes).

Color values

HEX#CFA0FC
RGBrgb(207, 160, 252)
HSLhsl(271, 94%, 81%)
HSVhsv(271, 37%, 99%)
CMYKcmyk(17.9%, 36.5%, 0%, 1.2%)
CIE-LABlab(73.18, 34.45, -39.28)
CIE-LCHlch(73.18, 52.25, 311.25°)
OKLaboklab(78.25% 0.0818 -0.1087)
OKLCHoklch(78.25% 0.136 307)
XYZxyz(55.8702, 45.4357, 97.9033)
Luminance0.4543 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA0FC #CDFCA0
analogous
#A1A0FC #CFA0FC #FCA0FB
triadic
#CFA0FC #FCCFA0 #A0FCCF
tetradic
#CFA0FC #FCA1A0 #CDFCA0 #A0FBFC
square
#CFA0FC #FCA1A0 #CDFCA0 #A0FBFC
split-complementary
#CFA0FC #FBFCA0 #A0FCA1
monochromatic
#9329F8 #B165FA #CFA0FC #EDDBFE #F0E1FE

Accessibility & contrast

On white

2.08
#CFA0FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.09
#CFA0FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA0FC
10.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA0FC#FFFFFF#000000##000000
##CFA0FC1.002.0810.0910.09
#FFFFFF2.081.0021.0021.00
#00000010.0921.001.001.00
##00000010.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FF
Deuteranopia (green-blind)
#97B4F9
Tritanopia (blue-blind)
#C9AEC2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfa0fc;
/* rgb */ color: rgb(207, 160, 252);
/* oklch */ color: oklch(78.3% 0.136 307.0);
Tailwind
colors: {
  custom: {
    50: '#dfbcfd',
    500: '#cfa0fc',
    950: '#000000',
  },
}
SCSS
$custom: #cfa0fc;
$custom-light: #dfbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa0fc",
  "rgb": {
    "r": 207,
    "g": 160,
    "b": 252
  },
  "hsl": {
    "h": 270.652,
    "s": 93.878,
    "l": 80.784
  },
  "oklch": {
    "l": 0.78252,
    "c": 0.136,
    "h": 307
  },
  "luminance": 0.45435
}

Semantic roles & 50–950 ramp

primary
#CFA0FC
secondary
#E5F6D5
accent
#E60070
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA0FC

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

Preview Lab → · Contrast checker → · Palette generator →

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