#CF7DCC#CF7DCC

#CF7DCC is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.4% C 0.143 H 328.3°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#CF7DCC
RGBrgb(207, 125, 204)
HSLhsl(302, 46%, 65%)
HSVhsv(302, 40%, 81%)
CMYKcmyk(0%, 39.6%, 1.4%, 18.8%)
CIE-LABlab(63.59, 43.64, -27.69)
CIE-LCHlch(63.59, 51.69, 327.61°)
OKLaboklab(70.37% 0.1218 -0.0753)
OKLCHoklch(70.37% 0.143 328.3)
XYZxyz(43.9641, 32.2943, 61.0327)
Luminance0.3229 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DCC #7DCF80
analogous
#A97DCF #CF7DCC #CF7DA3
triadic
#CF7DCC #CCCF7D #7DCCCF
tetradic
#CF7DCC #CFA97D #7DCF80 #7DA3CF
square
#CF7DCC #CFA97D #7DCF80 #7DA3CF
split-complementary
#CF7DCC #A3CF7D #7DCFA9
monochromatic
#993996 #BE50BA #CF7DCC #E0AADE #F0D6EF

Accessibility & contrast

On white

2.82
#CF7DCC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#CF7DCC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DCC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DCC#FFFFFF#000000##000000
##CF7DCC1.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7893CF
Deuteranopia (green-blind)
#8D9EC9
Tritanopia (blue-blind)
#D4849B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7dcc;
/* rgb */ color: rgb(207, 125, 204);
/* oklch */ color: oklch(70.4% 0.143 328.3);
Tailwind
colors: {
  custom: {
    50: '#dfa4db',
    500: '#cf7dcc',
    950: '#000000',
  },
}
SCSS
$custom: #cf7dcc;
$custom-light: #dfa4db;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7dcc",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 204
  },
  "hsl": {
    "h": 302.195,
    "s": 46.067,
    "l": 65.098
  },
  "oklch": {
    "l": 0.70371,
    "c": 0.14325,
    "h": 328.3
  },
  "luminance": 0.32292
}

Semantic roles & 50–950 ramp

primary
#CF7DCC
secondary
#C6E2C7
accent
#B9312C
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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