#CF7CD5#CF7CD5

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

Color values

HEX#CF7CD5
RGBrgb(207, 124, 213)
HSLhsl(296, 51%, 66%)
HSVhsv(296, 42%, 84%)
CMYKcmyk(2.8%, 41.8%, 0%, 16.5%)
CIE-LABlab(63.74, 45.83, -32.49)
CIE-LCHlch(63.74, 56.18, 324.67°)
OKLaboklab(70.61% 0.1252 -0.089)
OKLCHoklch(70.61% 0.154 324.6)
XYZxyz(44.9489, 32.4867, 66.8408)
Luminance0.3249 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CD5 #82D57C
analogous
#A27CD5 #CF7CD5 #D57CAE
triadic
#CF7CD5 #D5CF7C #7CD5CF
tetradic
#CF7CD5 #D5A27C #82D57C #7CAED5
square
#CF7CD5 #D5A27C #82D57C #7CAED5
split-complementary
#CF7CD5 #AED57C #7CD5A2
monochromatic
#9B34A2 #BE4EC6 #CF7CD5 #E0AAE4 #F1D9F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF7CD5#FFFFFF#000000##000000
##CF7CD51.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)
#7394D8
Deuteranopia (green-blind)
#899ED2
Tritanopia (blue-blind)
#D3869F
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7cd5;
/* rgb */ color: rgb(207, 124, 213);
/* oklch */ color: oklch(70.6% 0.154 324.6);
Tailwind
colors: {
  custom: {
    50: '#dfa4e2',
    500: '#cf7cd5',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cd5;
$custom-light: #dfa4e2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cd5",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 213
  },
  "hsl": {
    "h": 295.955,
    "s": 51.445,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70609,
    "c": 0.15363,
    "h": 324.6
  },
  "luminance": 0.32485
}

Semantic roles & 50–950 ramp

primary
#CF7CD5
secondary
#CAE5C8
accent
#BF2731
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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