#CF6AF7#CF6AF7

#CF6AF7 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.8% C 0.216 H 315.3°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#CF6AF7
RGBrgb(207, 106, 247)
HSLhsl(283, 90%, 69%)
HSVhsv(283, 57%, 97%)
CMYKcmyk(16.2%, 57.1%, 0%, 3.1%)
CIE-LABlab(61.90, 61.47, -54.29)
CIE-LCHlch(61.90, 82.01, 318.55°)
OKLaboklab(69.77% 0.1536 -0.1519)
OKLCHoklch(69.77% 0.216 315.3)
XYZxyz(47.6720, 30.2904, 91.3131)
Luminance0.3029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6AF7 #92F76A
analogous
#896AF7 #CF6AF7 #F76AD8
triadic
#CF6AF7 #F7CF6A #6AF7CF
tetradic
#CF6AF7 #F7896A #92F76A #6AD8F7
square
#CF6AF7 #F7896A #92F76A #6AD8F7
split-complementary
#CF6AF7 #D8F76A #6AF789
monochromatic
#A00CDB #BC30F4 #CF6AF7 #E2A4FA #F4DEFD

Accessibility & contrast

On white

2.98
#CF6AF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#CF6AF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF6AF7
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6AF7#FFFFFF#000000##000000
##CF6AF71.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4390FC
Deuteranopia (green-blind)
#6998F3
Tritanopia (blue-blind)
#CC82A7
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cf6af7;
/* rgb */ color: rgb(207, 106, 247);
/* oklch */ color: oklch(69.8% 0.216 315.3);
Tailwind
colors: {
  custom: {
    50: '#e199fa',
    500: '#cf6af7',
    950: '#000000',
  },
}
SCSS
$custom: #cf6af7;
$custom-light: #e199fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6af7",
  "rgb": {
    "r": 207,
    "g": 106,
    "b": 247
  },
  "hsl": {
    "h": 282.979,
    "s": 89.809,
    "l": 69.216
  },
  "oklch": {
    "l": 0.69771,
    "c": 0.21598,
    "h": 315.3
  },
  "luminance": 0.30289
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF6AF7

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

Preview Lab → · Contrast checker → · Palette generator →

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