#CFA0F8#CFA0F8

#CFA0F8 is a light, vivid violet. Relative luminance 0.452; OKLCH L 78.1% C 0.131 H 308.1°. Best body text is #000000 at 10.04:1 contrast (WCAG AA passes).

Color values

HEX#CFA0F8
RGBrgb(207, 160, 248)
HSLhsl(272, 86%, 80%)
HSVhsv(272, 35%, 97%)
CMYKcmyk(16.5%, 35.5%, 0%, 2.7%)
CIE-LABlab(73.01, 33.59, -37.37)
CIE-LCHlch(73.01, 50.25, 311.95°)
OKLaboklab(78.07% 0.0809 -0.1032)
OKLCHoklch(78.07% 0.131 308.1)
XYZxyz(55.2430, 45.1848, 94.6000)
Luminance0.4518 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFA0F8 #C9F8A0
analogous
#A3A0F8 #CFA0F8 #F8A0F5
triadic
#CFA0F8 #F8CFA0 #A0F8CF
tetradic
#CFA0F8 #F8A3A0 #C9F8A0 #A0F5F8
square
#CFA0F8 #F8A3A0 #C9F8A0 #A0F5F8
split-complementary
#CFA0F8 #F5F8A0 #A0F8A3
monochromatic
#952EF0 #B267F4 #CFA0F8 #ECD9FC #F1E2FD

Accessibility & contrast

On white

2.09
#CFA0F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.04
#CFA0F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFA0F8
10.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFA0F8#FFFFFF#000000##000000
##CFA0F81.002.0910.0410.04
#FFFFFF2.091.0021.0021.00
#00000010.0421.001.001.00
##00000010.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#8FB1FB
Deuteranopia (green-blind)
#99B4F5
Tritanopia (blue-blind)
#CAADC1
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #cfa0f8;
/* rgb */ color: rgb(207, 160, 248);
/* oklch */ color: oklch(78.1% 0.131 308.1);
Tailwind
colors: {
  custom: {
    50: '#dfbcfb',
    500: '#cfa0f8',
    950: '#000000',
  },
}
SCSS
$custom: #cfa0f8;
$custom-light: #dfbcfb;
$custom-dark: #000000;
JSON
{
  "hex": "#cfa0f8",
  "rgb": {
    "r": 207,
    "g": 160,
    "b": 248
  },
  "hsl": {
    "h": 272.045,
    "s": 86.275,
    "l": 80
  },
  "oklch": {
    "l": 0.78073,
    "c": 0.13112,
    "h": 308.1
  },
  "luminance": 0.45184
}

Semantic roles & 50–950 ramp

primary
#CFA0F8
secondary
#E4F5D6
accent
#E3036B
background
#FDFBFF
surface
#FBF6FF
border
#D4D0D7
text
#151217
muted
#838185

Preview Lab

Preview with #CFA0F8

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

Preview Lab → · Contrast checker → · Palette generator →

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