#CF7ACF#CF7ACF

#CF7ACF is a light, vivid purple. Relative luminance 0.317; OKLCH L 70.0% C 0.151 H 327.0°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#CF7ACF
RGBrgb(207, 122, 207)
HSLhsl(300, 47%, 65%)
HSVhsv(300, 41%, 81%)
CMYKcmyk(0%, 41.1%, 0%, 18.8%)
CIE-LABlab(63.09, 45.76, -30.14)
CIE-LCHlch(63.09, 54.80, 326.63°)
OKLaboklab(70.04% 0.1269 -0.0823)
OKLCHoklch(70.04% 0.151 327)
XYZxyz(43.9533, 31.6915, 62.8213)
Luminance0.3169 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7ACF #7ACF7A
analogous
#A57ACF #CF7ACF #CF7AA5
triadic
#CF7ACF #CFCF7A #7ACFCF
tetradic
#CF7ACF #CFA57A #7ACF7A #7AA5CF
square
#CF7ACF #CFA57A #7ACF7A #7AA5CF
split-complementary
#CF7ACF #A5CF7A #7ACFA5
monochromatic
#983798 #BF4DBF #CF7ACF #DFA7DF #EFD4EF

Accessibility & contrast

On white

2.86
#CF7ACF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#CF7ACF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7ACF
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7ACF#FFFFFF#000000##000000
##CF7ACF1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#7392D2
Deuteranopia (green-blind)
#8A9DCC
Tritanopia (blue-blind)
#D4829B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf7acf;
/* rgb */ color: rgb(207, 122, 207);
/* oklch */ color: oklch(70.0% 0.151 327.0);
Tailwind
colors: {
  custom: {
    50: '#dfa2de',
    500: '#cf7acf',
    950: '#000000',
  },
}
SCSS
$custom: #cf7acf;
$custom-light: #dfa2de;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7acf",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 207
  },
  "hsl": {
    "h": 300,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.70037,
    "c": 0.15125,
    "h": 327
  },
  "luminance": 0.31689
}

Semantic roles & 50–950 ramp

primary
#CF7ACF
secondary
#C4E1C4
accent
#BA2B2B
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7ACF

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

Preview Lab → · Contrast checker → · Palette generator →

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