#CF6DFE#CF6DFE

#CF6DFE is a light, highly saturated purple. Relative luminance 0.314; OKLCH L 70.6% C 0.219 H 313.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#CF6DFE
RGBrgb(207, 109, 254)
HSLhsl(281, 99%, 71%)
HSVhsv(281, 57%, 100%)
CMYKcmyk(18.5%, 57.1%, 0%, 0.4%)
CIE-LABlab(62.81, 61.46, -56.70)
CIE-LCHlch(62.81, 83.62, 317.30°)
OKLaboklab(70.55% 0.1501 -0.1589)
OKLCHoklch(70.55% 0.219 313.4)
XYZxyz(49.0871, 31.3598, 97.2140)
Luminance0.3136 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF6DFE #9CFE6D
analogous
#866DFE #CF6DFE #FE6DE4
triadic
#CF6DFE #FECF6D #6DFECF
tetradic
#CF6DFE #FE866D #9CFE6D #6DE4FE
square
#CF6DFE #FE866D #9CFE6D #6DE4FE
split-complementary
#CF6DFE #E4FE6D #6DFE86
monochromatic
#A202EF #BB30FE #CF6DFE #E3AAFE #F5E1FF

Accessibility & contrast

On white

2.89
#CF6DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#CF6DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF6DFE
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF6DFE#FFFFFF#000000##000000
##CF6DFE1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4193FF
Deuteranopia (green-blind)
#679AFA
Tritanopia (blue-blind)
#CB86AB
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf6dfe;
/* rgb */ color: rgb(207, 109, 254);
/* oklch */ color: oklch(70.6% 0.219 313.4);
Tailwind
colors: {
  custom: {
    50: '#e19bff',
    500: '#cf6dfe',
    950: '#000000',
  },
}
SCSS
$custom: #cf6dfe;
$custom-light: #e19bff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf6dfe",
  "rgb": {
    "r": 207,
    "g": 109,
    "b": 254
  },
  "hsl": {
    "h": 280.552,
    "s": 98.639,
    "l": 71.176
  },
  "oklch": {
    "l": 0.70554,
    "c": 0.21863,
    "h": 313.4
  },
  "luminance": 0.31358
}

Semantic roles & 50–950 ramp

primary
#CF6DFE
secondary
#DDF6D0
accent
#E6004A
background
#FEF9FF
surface
#FCF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #CF6DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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