#CF6AFE#CF6AFE

#CF6AFE is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.2% C 0.223 H 313.6°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#CF6AFE
RGBrgb(207, 106, 254)
HSLhsl(281, 99%, 71%)
HSVhsv(281, 58%, 100%)
CMYKcmyk(18.5%, 58.3%, 0%, 0.4%)
CIE-LABlab(62.28, 62.88, -57.55)
CIE-LCHlch(62.28, 85.24, 317.54°)
OKLaboklab(70.17% 0.1538 -0.1614)
OKLCHoklch(70.17% 0.223 313.6)
XYZxyz(48.7725, 30.7306, 97.1091)
Luminance0.3073 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6AFE #99FE6A
analogous
#856AFE #CF6AFE #FE6AE3
triadic
#CF6AFE #FECF6A #6AFECF
tetradic
#CF6AFE #FE856A #99FE6A #6AE3FE
square
#CF6AFE #FE856A #99FE6A #6AE3FE
split-complementary
#CF6AFE #E3FE6A #6AFE85
monochromatic
#A202EC #BB2DFE #CF6AFE #E3A7FE #F5E1FF

Accessibility & contrast

On white

2.94
#CF6AFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#CF6AFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF6AFE
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6AFE#FFFFFF#000000##000000
##CF6AFE1.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B91FF
Deuteranopia (green-blind)
#6499FA
Tritanopia (blue-blind)
#CB84AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf6afe;
/* rgb */ color: rgb(207, 106, 254);
/* oklch */ color: oklch(70.2% 0.223 313.6);
Tailwind
colors: {
  custom: {
    50: '#e199ff',
    500: '#cf6afe',
    950: '#000000',
  },
}
SCSS
$custom: #cf6afe;
$custom-light: #e199ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6afe",
  "rgb": {
    "r": 207,
    "g": 106,
    "b": 254
  },
  "hsl": {
    "h": 280.946,
    "s": 98.667,
    "l": 70.588
  },
  "oklch": {
    "l": 0.70167,
    "c": 0.22292,
    "h": 313.6
  },
  "luminance": 0.30729
}

Semantic roles & 50–950 ramp

primary
#CF6AFE
secondary
#DBF6CE
accent
#E60049
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CF6AFE

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

Preview Lab → · Contrast checker → · Palette generator →

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