#CF6AFB#CF6AFB

#CF6AFB is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.0% C 0.220 H 314.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#CF6AFB
RGBrgb(207, 106, 251)
HSLhsl(282, 95%, 70%)
HSVhsv(282, 58%, 98%)
CMYKcmyk(17.5%, 57.8%, 0%, 1.6%)
CIE-LABlab(62.12, 62.28, -56.16)
CIE-LCHlch(62.12, 83.86, 317.96°)
OKLaboklab(70% 0.1537 -0.1573)
OKLCHoklch(70% 0.22 314.3)
XYZxyz(48.2959, 30.5399, 94.5988)
Luminance0.3054 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6AFB #96FB6A
analogous
#866AFB #CF6AFB #FB6ADF
triadic
#CF6AFB #FBCF6A #6AFBCF
tetradic
#CF6AFB #FB866A #96FB6A #6ADFFB
square
#CF6AFB #FB866A #96FB6A #6ADFFB
split-complementary
#CF6AFB #DFFB6A #6AFB86
monochromatic
#A106E4 #BC2EF9 #CF6AFB #E2A6FD #F5E1FE

Accessibility & contrast

On white

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

On black

7.11
#CF6AFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF6AFB
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6AFB#FFFFFF#000000##000000
##CF6AFB1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F90FF
Deuteranopia (green-blind)
#6699F7
Tritanopia (blue-blind)
#CB83A9
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cf6afb;
/* rgb */ color: rgb(207, 106, 251);
/* oklch */ color: oklch(70.0% 0.220 314.3);
Tailwind
colors: {
  custom: {
    50: '#e199fd',
    500: '#cf6afb',
    950: '#000000',
  },
}
SCSS
$custom: #cf6afb;
$custom-light: #e199fd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6afb",
  "rgb": {
    "r": 207,
    "g": 106,
    "b": 251
  },
  "hsl": {
    "h": 281.793,
    "s": 94.771,
    "l": 70
  },
  "oklch": {
    "l": 0.69996,
    "c": 0.21994,
    "h": 314.3
  },
  "luminance": 0.30539
}

Semantic roles & 50–950 ramp

primary
#CF6AFB
secondary
#D8F5CC
accent
#E60046
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CF6AFB

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

Preview Lab → · Contrast checker → · Palette generator →

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