#CFA0F5#CFA0F5

#CFA0F5 is a light, vivid violet. Relative luminance 0.450; OKLCH L 77.9% C 0.127 H 309.0°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#CFA0F5
RGBrgb(207, 160, 245)
HSLhsl(273, 81%, 79%)
HSVhsv(273, 35%, 96%)
CMYKcmyk(15.5%, 34.7%, 0%, 3.9%)
CIE-LABlab(72.89, 32.95, -35.93)
CIE-LCHlch(72.89, 48.75, 312.52°)
OKLaboklab(77.94% 0.0802 -0.099)
OKLCHoklch(77.94% 0.127 309)
XYZxyz(54.7813, 45.0002, 92.1685)
Luminance0.4500 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA0F5 #C6F5A0
analogous
#A5A0F5 #CFA0F5 #F5A0F1
triadic
#CFA0F5 #F5CFA0 #A0F5CF
tetradic
#CFA0F5 #F5A5A0 #C6F5A0 #A0F1F5
square
#CFA0F5 #F5A5A0 #C6F5A0 #A0F1F5
split-complementary
#CFA0F5 #F1F5A0 #A0F5A5
monochromatic
#9731E9 #B369EF #CFA0F5 #EBD7FB #F1E3FC

Accessibility & contrast

On white

2.10
#CFA0F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#CFA0F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA0F5
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA0F5#FFFFFF#000000##000000
##CFA0F51.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#90B1F8
Deuteranopia (green-blind)
#9AB4F3
Tritanopia (blue-blind)
#CAACBF
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfa0f5;
/* rgb */ color: rgb(207, 160, 245);
/* oklch */ color: oklch(77.9% 0.127 309.0);
Tailwind
colors: {
  custom: {
    50: '#dfbcf8',
    500: '#cfa0f5',
    950: '#000000',
  },
}
SCSS
$custom: #cfa0f5;
$custom-light: #dfbcf8;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa0f5",
  "rgb": {
    "r": 207,
    "g": 160,
    "b": 245
  },
  "hsl": {
    "h": 273.176,
    "s": 80.952,
    "l": 79.412
  },
  "oklch": {
    "l": 0.77941,
    "c": 0.12747,
    "h": 309
  },
  "luminance": 0.45
}

Semantic roles & 50–950 ramp

primary
#CFA0F5
secondary
#E4F4D7
accent
#DD0867
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA0F5

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

Preview Lab → · Contrast checker → · Palette generator →

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