#CF7FD2#CF7FD2

#CF7FD2 is a light, vivid purple. Relative luminance 0.331; OKLCH L 70.9% C 0.146 H 325.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#CF7FD2
RGBrgb(207, 127, 210)
HSLhsl(298, 48%, 66%)
HSVhsv(298, 40%, 82%)
CMYKcmyk(1.4%, 39.5%, 0%, 17.6%)
CIE-LABlab(64.24, 43.70, -30.04)
CIE-LCHlch(64.24, 53.03, 325.49°)
OKLaboklab(70.94% 0.1202 -0.082)
OKLCHoklch(70.94% 0.146 325.7)
XYZxyz(44.9533, 33.0992, 64.9811)
Luminance0.3310 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FD2 #82D27F
analogous
#A57FD2 #CF7FD2 #D27FAB
triadic
#CF7FD2 #D2CF7F #7FD2CF
tetradic
#CF7FD2 #D2A57F #82D27F #7FABD2
square
#CF7FD2 #D2A57F #82D27F #7FABD2
split-complementary
#CF7FD2 #ABD27F #7FD2A5
monochromatic
#9B389F #BE52C2 #CF7FD2 #E0ACE2 #F1DAF2

Accessibility & contrast

On white

2.76
#CF7FD2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#CF7FD2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FD2
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FD2#FFFFFF#000000##000000
##CF7FD21.002.767.627.62
#FFFFFF2.761.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7895D5
Deuteranopia (green-blind)
#8D9FCF
Tritanopia (blue-blind)
#D3879F
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #cf7fd2;
/* rgb */ color: rgb(207, 127, 210);
/* oklch */ color: oklch(70.9% 0.146 325.7);
Tailwind
colors: {
  custom: {
    50: '#dfa6e0',
    500: '#cf7fd2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fd2;
$custom-light: #dfa6e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fd2",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 210
  },
  "hsl": {
    "h": 297.831,
    "s": 47.977,
    "l": 66.078
  },
  "oklch": {
    "l": 0.70942,
    "c": 0.14555,
    "h": 325.7
  },
  "luminance": 0.33097
}

Semantic roles & 50–950 ramp

primary
#CF7FD2
secondary
#CAE4C9
accent
#BB2A2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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