#CF7CED#CF7CED

#CF7CED is a light, vivid purple. Relative luminance 0.338; OKLCH L 71.7% C 0.178 H 316.5°. Best body text is #000000 at 7.76:1 contrast (WCAG AA passes).

Color values

HEX#CF7CED
RGBrgb(207, 124, 237)
HSLhsl(284, 76%, 71%)
HSVhsv(284, 48%, 93%)
CMYKcmyk(12.7%, 47.7%, 0%, 7.1%)
CIE-LABlab(64.80, 50.51, -44.18)
CIE-LCHlch(64.80, 67.11, 318.82°)
OKLaboklab(71.74% 0.1293 -0.1226)
OKLCHoklch(71.74% 0.178 316.5)
XYZxyz(48.2236, 33.7966, 84.0875)
Luminance0.3379 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CED #9AED7C
analogous
#967CED #CF7CED #ED7CD2
triadic
#CF7CED #EDCF7C #7CEDCF
tetradic
#CF7CED #ED967C #9AED7C #7CD2ED
square
#CF7CED #ED967C #9AED7C #7CD2ED
split-complementary
#CF7CED #D2ED7C #7CED96
monochromatic
#A21DD2 #BB46E6 #CF7CED #E3B2F4 #F5E4FB

Accessibility & contrast

On white

2.71
#CF7CED on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.76
#CF7CED on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CED
7.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CED#FFFFFF#000000##000000
##CF7CED1.002.717.767.76
#FFFFFF2.711.0021.0021.00
#0000007.7621.001.001.00
##0000007.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#6698F1
Deuteranopia (green-blind)
#7EA0EA
Tritanopia (blue-blind)
#CE8CAA
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #cf7ced;
/* rgb */ color: rgb(207, 124, 237);
/* oklch */ color: oklch(71.7% 0.178 316.5);
Tailwind
colors: {
  custom: {
    50: '#e0a4f3',
    500: '#cf7ced',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ced;
$custom-light: #e0a4f3;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ced",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 237
  },
  "hsl": {
    "h": 284.071,
    "s": 75.839,
    "l": 70.784
  },
  "oklch": {
    "l": 0.71744,
    "c": 0.17814,
    "h": 316.5
  },
  "luminance": 0.33795
}

Semantic roles & 50–950 ramp

primary
#CF7CED
secondary
#DBF2D3
accent
#D80D43
background
#FDFAFE
surface
#FBF4FD
border
#D4CED5
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7CED

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

Preview Lab → · Contrast checker → · Palette generator →

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