#CF7CDA#CF7CDA

#CF7CDA is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.8% C 0.159 H 322.7°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#CF7CDA
RGBrgb(207, 124, 218)
HSLhsl(293, 56%, 67%)
HSVhsv(293, 43%, 85%)
CMYKcmyk(5%, 43.1%, 0%, 14.5%)
CIE-LABlab(63.95, 46.78, -34.96)
CIE-LCHlch(63.95, 58.39, 323.23°)
OKLaboklab(70.84% 0.1262 -0.096)
OKLCHoklch(70.84% 0.159 322.7)
XYZxyz(45.5933, 32.7445, 70.2347)
Luminance0.3274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7CDA #87DA7C
analogous
#A07CDA #CF7CDA #DA7CB6
triadic
#CF7CDA #DACF7C #7CDACF
tetradic
#CF7CDA #DAA07C #87DA7C #7CB6DA
square
#CF7CDA #DAA07C #87DA7C #7CB6DA
split-complementary
#CF7CDA #B6DA7C #7CDAA0
monochromatic
#9D30AB #BE4CCD #CF7CDA #E0ACE7 #F2DBF5

Accessibility & contrast

On white

2.78
#CF7CDA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#CF7CDA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7CDA
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7CDA#FFFFFF#000000##000000
##CF7CDA1.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#7095DD
Deuteranopia (green-blind)
#879ED7
Tritanopia (blue-blind)
#D287A1
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7cda;
/* rgb */ color: rgb(207, 124, 218);
/* oklch */ color: oklch(70.8% 0.159 322.7);
Tailwind
colors: {
  custom: {
    50: '#dfa4e5',
    500: '#cf7cda',
    950: '#000000',
  },
}
SCSS
$custom: #cf7cda;
$custom-light: #dfa4e5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7cda",
  "rgb": {
    "r": 207,
    "g": 124,
    "b": 218
  },
  "hsl": {
    "h": 292.979,
    "s": 55.952,
    "l": 67.059
  },
  "oklch": {
    "l": 0.70836,
    "c": 0.15859,
    "h": 322.7
  },
  "luminance": 0.32743
}

Semantic roles & 50–950 ramp

primary
#CF7CDA
secondary
#CDE8CA
accent
#C32235
background
#FDFAFE
surface
#FBF4FC
border
#D4CED5
text
#150F16
muted
#837F84

Preview Lab

Preview with #CF7CDA

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

Preview Lab → · Contrast checker → · Palette generator →

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