#CF6AF8#CF6AF8

#CF6AF8 is a light, highly saturated purple. Relative luminance 0.304; OKLCH L 69.8% C 0.217 H 315.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#CF6AF8
RGBrgb(207, 106, 248)
HSLhsl(283, 91%, 69%)
HSVhsv(283, 57%, 97%)
CMYKcmyk(16.5%, 57.3%, 0%, 2.7%)
CIE-LABlab(61.96, 61.67, -54.76)
CIE-LCHlch(61.96, 82.47, 318.40°)
OKLaboklab(69.83% 0.1536 -0.1532)
OKLCHoklch(69.83% 0.217 315.1)
XYZxyz(47.8267, 30.3523, 92.1279)
Luminance0.3035 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6AF8 #93F86A
analogous
#886AF8 #CF6AF8 #F86ADA
triadic
#CF6AF8 #F8CF6A #6AF8CF
tetradic
#CF6AF8 #F8886A #93F86A #6ADAF8
square
#CF6AF8 #F8886A #93F86A #6ADAF8
split-complementary
#CF6AF8 #DAF86A #6AF888
monochromatic
#A00ADD #BC30F5 #CF6AF8 #E2A4FB #F5DFFD

Accessibility & contrast

On white

2.97
#CF6AF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#CF6AF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF6AF8
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6AF8#FFFFFF#000000##000000
##CF6AF81.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4290FD
Deuteranopia (green-blind)
#6898F4
Tritanopia (blue-blind)
#CC82A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cf6af8;
/* rgb */ color: rgb(207, 106, 248);
/* oklch */ color: oklch(69.8% 0.217 315.1);
Tailwind
colors: {
  custom: {
    50: '#e199fb',
    500: '#cf6af8',
    950: '#000000',
  },
}
SCSS
$custom: #cf6af8;
$custom-light: #e199fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6af8",
  "rgb": {
    "r": 207,
    "g": 106,
    "b": 248
  },
  "hsl": {
    "h": 282.676,
    "s": 91.026,
    "l": 69.412
  },
  "oklch": {
    "l": 0.69827,
    "c": 0.21696,
    "h": 315.1
  },
  "luminance": 0.30351
}

Semantic roles & 50–950 ramp

primary
#CF6AF8
secondary
#D6F3CA
accent
#E60042
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CF6AF8

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

Preview Lab → · Contrast checker → · Palette generator →

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