#CFA0FB#CFA0FB

#CFA0FB is a light, vivid violet. Relative luminance 0.454; OKLCH L 78.2% C 0.135 H 307.2°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#CFA0FB
RGBrgb(207, 160, 251)
HSLhsl(271, 92%, 81%)
HSVhsv(271, 36%, 98%)
CMYKcmyk(17.5%, 36.3%, 0%, 1.6%)
CIE-LABlab(73.14, 34.24, -38.81)
CIE-LCHlch(73.14, 51.75, 311.42°)
OKLaboklab(78.21% 0.0816 -0.1073)
OKLCHoklch(78.21% 0.135 307.2)
XYZxyz(55.7122, 45.3725, 97.0709)
Luminance0.4537 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA0FB #CCFBA0
analogous
#A1A0FB #CFA0FB #FBA0F9
triadic
#CFA0FB #FBCFA0 #A0FBCF
tetradic
#CFA0FB #FBA1A0 #CCFBA0 #A0F9FB
square
#CFA0FB #FBA1A0 #CCFBA0 #A0F9FB
split-complementary
#CFA0FB #F9FBA0 #A0FBA1
monochromatic
#942BF6 #B165F9 #CFA0FB #EDDBFD #F0E2FE

Accessibility & contrast

On white

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

On black

10.07
#CFA0FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA0FB
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA0FB#FFFFFF#000000##000000
##CFA0FB1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB2FE
Deuteranopia (green-blind)
#98B4F8
Tritanopia (blue-blind)
#C9AEC2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #cfa0fb;
/* rgb */ color: rgb(207, 160, 251);
/* oklch */ color: oklch(78.2% 0.135 307.2);
Tailwind
colors: {
  custom: {
    50: '#dfbcfd',
    500: '#cfa0fb',
    950: '#000000',
  },
}
SCSS
$custom: #cfa0fb;
$custom-light: #dfbcfd;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa0fb",
  "rgb": {
    "r": 207,
    "g": 160,
    "b": 251
  },
  "hsl": {
    "h": 270.989,
    "s": 91.919,
    "l": 80.588
  },
  "oklch": {
    "l": 0.78207,
    "c": 0.13478,
    "h": 307.2
  },
  "luminance": 0.45372
}

Semantic roles & 50–950 ramp

primary
#CFA0FB
secondary
#E5F6D5
accent
#E6006F
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA0FB

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

Preview Lab → · Contrast checker → · Palette generator →

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