#CF7FC6#CF7FC6

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

Color values

HEX#CF7FC6
RGBrgb(207, 127, 198)
HSLhsl(307, 45%, 65%)
HSVhsv(307, 39%, 81%)
CMYKcmyk(0%, 38.6%, 4.3%, 18.8%)
CIE-LABlab(63.77, 41.51, -24.03)
CIE-LCHlch(63.77, 47.96, 329.94°)
OKLaboklab(70.44% 0.1174 -0.065)
OKLCHoklch(70.44% 0.134 331)
XYZxyz(43.5140, 32.5235, 57.4007)
Luminance0.3252 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FC6 #7FCF88
analogous
#B07FCF #CF7FC6 #CF7F9E
triadic
#CF7FC6 #C6CF7F #7FC6CF
tetradic
#CF7FC6 #CFB07F #7FCF88 #7F9ECF
square
#CF7FC6 #CFB07F #7FCF88 #7F9ECF
split-complementary
#CF7FC6 #9ECF7F #7FCFB0
monochromatic
#9A3A8F #BE52B2 #CF7FC6 #E0ACDA #F0D8EE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF7FC6#FFFFFF#000000##000000
##CF7FC61.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)
#7C94C9
Deuteranopia (green-blind)
#919EC4
Tritanopia (blue-blind)
#D5849A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #cf7fc6;
/* rgb */ color: rgb(207, 127, 198);
/* oklch */ color: oklch(70.4% 0.134 331.0);
Tailwind
colors: {
  custom: {
    50: '#dfa6d7',
    500: '#cf7fc6',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fc6;
$custom-light: #dfa6d7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fc6",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 198
  },
  "hsl": {
    "h": 306.75,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.70436,
    "c": 0.13421,
    "h": 331
  },
  "luminance": 0.32521
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7FC6

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

Preview Lab → · Contrast checker → · Palette generator →

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