#CF7FC4#CF7FC4

#CF7FC4 is a light, vivid purple. Relative luminance 0.324; OKLCH L 70.4% C 0.132 H 332.0°. Best body text is #000000 at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#CF7FC4
RGBrgb(207, 127, 196)
HSLhsl(308, 45%, 65%)
HSVhsv(308, 39%, 81%)
CMYKcmyk(0%, 38.6%, 5.3%, 18.8%)
CIE-LABlab(63.70, 41.16, -23.01)
CIE-LCHlch(63.70, 47.15, 330.79°)
OKLaboklab(70.36% 0.1169 -0.0622)
OKLCHoklch(70.36% 0.132 332)
XYZxyz(43.2849, 32.4318, 56.1938)
Luminance0.3243 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FC4 #7FCF8A
analogous
#B27FCF #CF7FC4 #CF7F9C
triadic
#CF7FC4 #C4CF7F #7FC4CF
tetradic
#CF7FC4 #CFB27F #7FCF8A #7F9CCF
square
#CF7FC4 #CFB27F #7FCF8A #7F9CCF
split-complementary
#CF7FC4 #9CCF7F #7FCFB2
monochromatic
#9A3A8D #BE52AF #CF7FC4 #E0ACD9 #F0D8ED

Accessibility & contrast

On white

2.81
#CF7FC4 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.49
#CF7FC4 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FC4
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FC4#FFFFFF#000000##000000
##CF7FC41.002.817.497.49
#FFFFFF2.811.0021.0021.00
#0000007.4921.001.001.00
##0000007.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D93C7
Deuteranopia (green-blind)
#929EC2
Tritanopia (blue-blind)
#D58499
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7fc4;
/* rgb */ color: rgb(207, 127, 196);
/* oklch */ color: oklch(70.4% 0.132 332.0);
Tailwind
colors: {
  custom: {
    50: '#dfa6d6',
    500: '#cf7fc4',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fc4;
$custom-light: #dfa6d6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fc4",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 196
  },
  "hsl": {
    "h": 308.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70355,
    "c": 0.13241,
    "h": 332
  },
  "luminance": 0.3243
}

Semantic roles & 50–950 ramp

primary
#CF7FC4
secondary
#C8E2CB
accent
#B9402D
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CF7FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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