#CF7AC2#CF7AC2

#CF7AC2 is a light, vivid purple. Relative luminance 0.311; OKLCH L 69.5% C 0.139 H 332.8°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#CF7AC2
RGBrgb(207, 122, 194)
HSLhsl(309, 47%, 65%)
HSVhsv(309, 41%, 81%)
CMYKcmyk(0%, 41.1%, 6.3%, 18.8%)
CIE-LABlab(62.58, 43.44, -23.60)
CIE-LCHlch(62.58, 49.44, 331.48°)
OKLaboklab(69.49% 0.1239 -0.0638)
OKLCHoklch(69.49% 0.139 332.8)
XYZxyz(42.4289, 31.0818, 54.7930)
Luminance0.3108 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7AC2 #7ACF87
analogous
#B17ACF #CF7AC2 #CF7A98
triadic
#CF7AC2 #C2CF7A #7AC2CF
tetradic
#CF7AC2 #CFB17A #7ACF87 #7A98CF
square
#CF7AC2 #CFB17A #7ACF87 #7A98CF
split-complementary
#CF7AC2 #98CF7A #7ACFB1
monochromatic
#983789 #BF4DAD #CF7AC2 #DFA7D7 #EFD4EB

Accessibility & contrast

On white

2.91
#CF7AC2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#CF7AC2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7AC2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7AC2#FFFFFF#000000##000000
##CF7AC21.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7890C5
Deuteranopia (green-blind)
#8F9CBF
Tritanopia (blue-blind)
#D67F95
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf7ac2;
/* rgb */ color: rgb(207, 122, 194);
/* oklch */ color: oklch(69.5% 0.139 332.8);
Tailwind
colors: {
  custom: {
    50: '#dfa2d4',
    500: '#cf7ac2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ac2;
$custom-light: #dfa2d4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ac2",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 194
  },
  "hsl": {
    "h": 309.176,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69487,
    "c": 0.13937,
    "h": 332.8
  },
  "luminance": 0.3108
}

Semantic roles & 50–950 ramp

primary
#CF7AC2
secondary
#C4E1C8
accent
#BA412B
background
#FDFAFD
surface
#FBF4FA
border
#D4CED3
text
#150F14
muted
#837F83

Preview Lab

Preview with #CF7AC2

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

Preview Lab → · Contrast checker → · Palette generator →

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