#CF7FCA#CF7FCA

#CF7FCA is a light, vivid purple. Relative luminance 0.327; OKLCH L 70.6% C 0.138 H 329.2°. Best body text is #000000 at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#CF7FCA
RGBrgb(207, 127, 202)
HSLhsl(304, 45%, 65%)
HSVhsv(304, 39%, 81%)
CMYKcmyk(0%, 38.6%, 2.4%, 18.8%)
CIE-LABlab(63.93, 42.23, -26.04)
CIE-LCHlch(63.93, 49.61, 328.34°)
OKLaboklab(70.6% 0.1184 -0.0707)
OKLCHoklch(70.6% 0.138 329.2)
XYZxyz(43.9815, 32.7105, 59.8627)
Luminance0.3271 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FCA #7FCF84
analogous
#AC7FCF #CF7FCA #CF7FA2
triadic
#CF7FCA #CACF7F #7FCACF
tetradic
#CF7FCA #CFAC7F #7FCF84 #7FA2CF
square
#CF7FCA #CFAC7F #7FCF84 #7FA2CF
split-complementary
#CF7FCA #A2CF7F #7FCFAC
monochromatic
#9A3A94 #BE52B8 #CF7FCA #E0ACDC #F0D8EF

Accessibility & contrast

On white

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

On black

7.54
#CF7FCA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FCA
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FCA#FFFFFF#000000##000000
##CF7FCA1.002.787.547.54
#FFFFFF2.781.0021.0021.00
#0000007.5421.001.001.00
##0000007.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7B94CD
Deuteranopia (green-blind)
#909FC7
Tritanopia (blue-blind)
#D4859B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7fca;
/* rgb */ color: rgb(207, 127, 202);
/* oklch */ color: oklch(70.6% 0.138 329.2);
Tailwind
colors: {
  custom: {
    50: '#dfa6da',
    500: '#cf7fca',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fca;
$custom-light: #dfa6da;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fca",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 202
  },
  "hsl": {
    "h": 303.75,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70601,
    "c": 0.1379,
    "h": 329.2
  },
  "luminance": 0.32708
}

Semantic roles & 50–950 ramp

primary
#CF7FCA
secondary
#C8E2C9
accent
#B9362D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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