#CF6FF2#CF6FF2

#CF6FF2 is a light, highly saturated purple. Relative luminance 0.310; OKLCH L 70.2% C 0.204 H 316.2°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CF6FF2
RGBrgb(207, 111, 242)
HSLhsl(284, 83%, 69%)
HSVhsv(284, 54%, 95%)
CMYKcmyk(14.5%, 54.1%, 0%, 5.1%)
CIE-LABlab(62.55, 58.06, -50.50)
CIE-LCHlch(62.55, 76.95, 318.98°)
OKLaboklab(70.16% 0.147 -0.1408)
OKLCHoklch(70.16% 0.204 316.2)
XYZxyz(47.4412, 31.0467, 87.4807)
Luminance0.3105 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6FF2 #92F26F
analogous
#8E6FF2 #CF6FF2 #F26FD4
triadic
#CF6FF2 #F2CF6F #6FF2CF
tetradic
#CF6FF2 #F28E6F #92F26F #6FD4F2
square
#CF6FF2 #F28E6F #92F26F #6FD4F2
split-complementary
#CF6FF2 #D4F26F #6FF28E
monochromatic
#A013D4 #BC37ED #CF6FF2 #E2A7F7 #F4DFFC

Accessibility & contrast

On white

2.91
#CF6FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CF6FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF6FF2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6FF2#FFFFFF#000000##000000
##CF6FF21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5091F6
Deuteranopia (green-blind)
#719AEF
Tritanopia (blue-blind)
#CD84A6
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf6ff2;
/* rgb */ color: rgb(207, 111, 242);
/* oklch */ color: oklch(70.2% 0.204 316.2);
Tailwind
colors: {
  custom: {
    50: '#e09cf7',
    500: '#cf6ff2',
    950: '#000000',
  },
}
SCSS
$custom: #cf6ff2;
$custom-light: #e09cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6ff2",
  "rgb": {
    "r": 207,
    "g": 111,
    "b": 242
  },
  "hsl": {
    "h": 283.969,
    "s": 83.439,
    "l": 69.216
  },
  "oklch": {
    "l": 0.70158,
    "c": 0.2036,
    "h": 316.2
  },
  "luminance": 0.31045
}

Semantic roles & 50–950 ramp

primary
#CF6FF2
secondary
#D6F1CB
accent
#E00640
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #CF6FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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