#CF7ECB#CF7ECB

#CF7ECB is a light, vivid purple. Relative luminance 0.325; OKLCH L 70.5% C 0.141 H 328.7°. Best body text is #000000 at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#CF7ECB
RGBrgb(207, 126, 203)
HSLhsl(303, 46%, 65%)
HSVhsv(303, 39%, 81%)
CMYKcmyk(0%, 39.1%, 1.9%, 18.8%)
CIE-LABlab(63.75, 42.94, -26.86)
CIE-LCHlch(63.75, 50.65, 327.97°)
OKLaboklab(70.49% 0.1201 -0.073)
OKLCHoklch(70.49% 0.141 328.7)
XYZxyz(43.9718, 32.5010, 60.4455)
Luminance0.3250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7ECB #7ECF82
analogous
#AA7ECF #CF7ECB #CF7EA2
triadic
#CF7ECB #CBCF7E #7ECBCF
tetradic
#CF7ECB #CFAA7E #7ECF82 #7EA2CF
square
#CF7ECB #CFAA7E #7ECF82 #7EA2CF
split-complementary
#CF7ECB #A2CF7E #7ECFAA
monochromatic
#993995 #BE51B9 #CF7ECB #E0ABDD #F0D7EF

Accessibility & contrast

On white

2.80
#CF7ECB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.50
#CF7ECB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7ECB
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7ECB#FFFFFF#000000##000000
##CF7ECB1.002.807.507.50
#FFFFFF2.801.0021.0021.00
#0000007.5021.001.001.00
##0000007.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7994CE
Deuteranopia (green-blind)
#8F9EC8
Tritanopia (blue-blind)
#D4859B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7ecb;
/* rgb */ color: rgb(207, 126, 203);
/* oklch */ color: oklch(70.5% 0.141 328.7);
Tailwind
colors: {
  custom: {
    50: '#dfa5db',
    500: '#cf7ecb',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ecb;
$custom-light: #dfa5db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ecb",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 203
  },
  "hsl": {
    "h": 302.963,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.70486,
    "c": 0.14058,
    "h": 328.7
  },
  "luminance": 0.32499
}

Semantic roles & 50–950 ramp

primary
#CF7ECB
secondary
#C7E2C8
accent
#B9332D
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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