#CF6AFC#CF6AFC

#CF6AFC is a light, highly saturated purple. Relative luminance 0.306; OKLCH L 70.1% C 0.221 H 314.1°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#CF6AFC
RGBrgb(207, 106, 252)
HSLhsl(282, 96%, 70%)
HSVhsv(282, 58%, 99%)
CMYKcmyk(17.9%, 57.9%, 0%, 1.2%)
CIE-LABlab(62.17, 62.48, -56.62)
CIE-LCHlch(62.17, 84.32, 317.82°)
OKLaboklab(70.05% 0.1537 -0.1587)
OKLCHoklch(70.05% 0.221 314.1)
XYZxyz(48.4539, 30.6032, 95.4312)
Luminance0.3060 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6AFC #97FC6A
analogous
#866AFC #CF6AFC #FC6AE0
triadic
#CF6AFC #FCCF6A #6AFCCF
tetradic
#CF6AFC #FC866A #97FC6A #6AE0FC
square
#CF6AFC #FC866A #97FC6A #6AE0FC
split-complementary
#CF6AFC #E0FC6A #6AFC86
monochromatic
#A105E7 #BC2EFB #CF6AFC #E2A6FD #F5E1FE

Accessibility & contrast

On white

2.95
#CF6AFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#CF6AFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF6AFC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6AFC#FFFFFF#000000##000000
##CF6AFC1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D91FF
Deuteranopia (green-blind)
#6599F8
Tritanopia (blue-blind)
#CB84A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cf6afc;
/* rgb */ color: rgb(207, 106, 252);
/* oklch */ color: oklch(70.1% 0.221 314.1);
Tailwind
colors: {
  custom: {
    50: '#e199fe',
    500: '#cf6afc',
    950: '#000000',
  },
}
SCSS
$custom: #cf6afc;
$custom-light: #e199fe;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6afc",
  "rgb": {
    "r": 207,
    "g": 106,
    "b": 252
  },
  "hsl": {
    "h": 281.507,
    "s": 96.053,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70053,
    "c": 0.22093,
    "h": 314.1
  },
  "luminance": 0.30602
}

Semantic roles & 50–950 ramp

primary
#CF6AFC
secondary
#D9F5CD
accent
#E60047
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CF6AFC

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

Preview Lab → · Contrast checker → · Palette generator →

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