#CF7EC2#CF7EC2

#CF7EC2 is a light, vivid purple. Relative luminance 0.321; OKLCH L 70.1% C 0.132 H 332.9°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#CF7EC2
RGBrgb(207, 126, 194)
HSLhsl(310, 46%, 65%)
HSVhsv(310, 39%, 81%)
CMYKcmyk(0%, 39.1%, 6.3%, 18.8%)
CIE-LABlab(63.41, 41.33, -22.32)
CIE-LCHlch(63.41, 46.98, 331.63°)
OKLaboklab(70.12% 0.1179 -0.0602)
OKLCHoklch(70.12% 0.132 332.9)
XYZxyz(42.9302, 32.0844, 54.9601)
Luminance0.3208 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EC2 #7ECF8B
analogous
#B47ECF #CF7EC2 #CF7E99
triadic
#CF7EC2 #C2CF7E #7EC2CF
tetradic
#CF7EC2 #CFB47E #7ECF8B #7E99CF
square
#CF7EC2 #CFB47E #7ECF8B #7E99CF
split-complementary
#CF7EC2 #99CF7E #7ECFB4
monochromatic
#99398A #BE51AD #CF7EC2 #E0ABD7 #F0D7EC

Accessibility & contrast

On white

2.83
#CF7EC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#CF7EC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EC2
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EC2#FFFFFF#000000##000000
##CF7EC21.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D92C4
Deuteranopia (green-blind)
#929EC0
Tritanopia (blue-blind)
#D68297
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf7ec2;
/* rgb */ color: rgb(207, 126, 194);
/* oklch */ color: oklch(70.1% 0.132 332.9);
Tailwind
colors: {
  custom: {
    50: '#dfa5d4',
    500: '#cf7ec2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ec2;
$custom-light: #dfa5d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ec2",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 194
  },
  "hsl": {
    "h": 309.63,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70116,
    "c": 0.13239,
    "h": 332.9
  },
  "luminance": 0.32082
}

Semantic roles & 50–950 ramp

primary
#CF7EC2
secondary
#C7E2CB
accent
#B9432D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CF7EC2

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

Preview Lab → · Contrast checker → · Palette generator →

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