#CF7FED#CF7FED

#CF7FED is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.2% C 0.173 H 316.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#CF7FED
RGBrgb(207, 127, 237)
HSLhsl(284, 75%, 71%)
HSVhsv(284, 46%, 93%)
CMYKcmyk(12.7%, 46.4%, 0%, 7.1%)
CIE-LABlab(65.40, 48.96, -43.23)
CIE-LCHlch(65.40, 65.31, 318.55°)
OKLaboklab(72.19% 0.1252 -0.1199)
OKLCHoklch(72.19% 0.173 316.2)
XYZxyz(48.6053, 34.5600, 84.2147)
Luminance0.3456 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FED #9DED7F
analogous
#987FED #CF7FED #ED7FD4
triadic
#CF7FED #EDCF7F #7FEDCF
tetradic
#CF7FED #ED987F #9DED7F #7FD4ED
square
#CF7FED #ED987F #9DED7F #7FD4ED
split-complementary
#CF7FED #D4ED7F #7FED98
monochromatic
#A21ED4 #BB49E5 #CF7FED #E3B5F5 #F5E4FB

Accessibility & contrast

On white

2.65
#CF7FED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#CF7FED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FED
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FED#FFFFFF#000000##000000
##CF7FED1.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6A9AF1
Deuteranopia (green-blind)
#81A1EA
Tritanopia (blue-blind)
#CE8FAB
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7fed;
/* rgb */ color: rgb(207, 127, 237);
/* oklch */ color: oklch(72.2% 0.173 316.2);
Tailwind
colors: {
  custom: {
    50: '#dfa6f3',
    500: '#cf7fed',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fed;
$custom-light: #dfa6f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fed",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 237
  },
  "hsl": {
    "h": 283.636,
    "s": 75.342,
    "l": 71.373
  },
  "oklch": {
    "l": 0.72193,
    "c": 0.17329,
    "h": 316.2
  },
  "luminance": 0.34559
}

Semantic roles & 50–950 ramp

primary
#CF7FED
secondary
#DDF2D6
accent
#D80E45
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7FED

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

Preview Lab → · Contrast checker → · Palette generator →

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