#CF6AF5#CF6AF5

#CF6AF5 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.7% C 0.214 H 315.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#CF6AF5
RGBrgb(207, 106, 245)
HSLhsl(284, 87%, 69%)
HSVhsv(284, 57%, 96%)
CMYKcmyk(15.5%, 56.7%, 0%, 3.9%)
CIE-LABlab(61.80, 61.07, -53.35)
CIE-LCHlch(61.80, 81.09, 318.86°)
OKLaboklab(69.66% 0.1535 -0.1491)
OKLCHoklch(69.66% 0.214 315.8)
XYZxyz(47.3651, 30.1676, 89.6964)
Luminance0.3017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6AF5 #90F56A
analogous
#8A6AF5 #CF6AF5 #F56AD6
triadic
#CF6AF5 #F5CF6A #6AF5CF
tetradic
#CF6AF5 #F58A6A #90F56A #6AD6F5
square
#CF6AF5 #F58A6A #90F56A #6AD6F5
split-complementary
#CF6AF5 #D6F56A #6AF58A
monochromatic
#A00ED6 #BD31F1 #CF6AF5 #E1A3F9 #F4DDFD

Accessibility & contrast

On white

2.99
#CF6AF5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#CF6AF5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF6AF5
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6AF5#FFFFFF#000000##000000
##CF6AF51.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#458FF9
Deuteranopia (green-blind)
#6A98F1
Tritanopia (blue-blind)
#CD81A6
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #cf6af5;
/* rgb */ color: rgb(207, 106, 245);
/* oklch */ color: oklch(69.7% 0.214 315.8);
Tailwind
colors: {
  custom: {
    50: '#e199f9',
    500: '#cf6af5',
    950: '#000000',
  },
}
SCSS
$custom: #cf6af5;
$custom-light: #e199f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6af5",
  "rgb": {
    "r": 207,
    "g": 106,
    "b": 245
  },
  "hsl": {
    "h": 283.597,
    "s": 87.421,
    "l": 68.824
  },
  "oklch": {
    "l": 0.6966,
    "c": 0.214,
    "h": 315.8
  },
  "luminance": 0.30166
}

Semantic roles & 50–950 ramp

primary
#CF6AF5
secondary
#D4F2C9
accent
#E4023F
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CF6AF5

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

Preview Lab → · Contrast checker → · Palette generator →

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