#CF7EC8#CF7EC8

#CF7EC8 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.4% C 0.138 H 330.1°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#CF7EC8
RGBrgb(207, 126, 200)
HSLhsl(305, 46%, 65%)
HSVhsv(305, 39%, 81%)
CMYKcmyk(0%, 39.1%, 3.4%, 18.8%)
CIE-LABlab(63.64, 42.40, -25.36)
CIE-LCHlch(63.64, 49.40, 329.12°)
OKLaboklab(70.36% 0.1194 -0.0688)
OKLCHoklch(70.36% 0.138 330.1)
XYZxyz(43.6177, 32.3593, 58.5808)
Luminance0.3236 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EC8 #7ECF85
analogous
#AD7ECF #CF7EC8 #CF7E9F
triadic
#CF7EC8 #C8CF7E #7EC8CF
tetradic
#CF7EC8 #CFAD7E #7ECF85 #7E9FCF
square
#CF7EC8 #CFAD7E #7ECF85 #7E9FCF
split-complementary
#CF7EC8 #9FCF7E #7ECFAD
monochromatic
#993991 #BE51B5 #CF7EC8 #E0ABDB #F0D7EE

Accessibility & contrast

On white

2.81
#CF7EC8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#CF7EC8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EC8
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EC8#FFFFFF#000000##000000
##CF7EC81.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7A93CB
Deuteranopia (green-blind)
#909EC5
Tritanopia (blue-blind)
#D5849A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7ec8;
/* rgb */ color: rgb(207, 126, 200);
/* oklch */ color: oklch(70.4% 0.138 330.1);
Tailwind
colors: {
  custom: {
    50: '#dfa5d9',
    500: '#cf7ec8',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ec8;
$custom-light: #dfa5d9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ec8",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 200
  },
  "hsl": {
    "h": 305.185,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.7036,
    "c": 0.13779,
    "h": 330.1
  },
  "luminance": 0.32357
}

Semantic roles & 50–950 ramp

primary
#CF7EC8
secondary
#C7E2C9
accent
#B9392D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CF7EC8

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

Preview Lab → · Contrast checker → · Palette generator →

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