#CF7ED2#CF7ED2

#CF7ED2 is a light, vivid purple. Relative luminance 0.328; OKLCH L 70.8% C 0.147 H 325.7°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#CF7ED2
RGBrgb(207, 126, 210)
HSLhsl(298, 48%, 66%)
HSVhsv(298, 40%, 82%)
CMYKcmyk(1.4%, 40%, 0%, 17.6%)
CIE-LABlab(64.03, 44.22, -30.36)
CIE-LCHlch(64.03, 53.64, 325.53°)
OKLaboklab(70.79% 0.1217 -0.0829)
OKLCHoklch(70.79% 0.147 325.7)
XYZxyz(44.8248, 32.8422, 64.9383)
Luminance0.3284 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7ED2 #81D27E
analogous
#A57ED2 #CF7ED2 #D27EAB
triadic
#CF7ED2 #D2CF7E #7ED2CF
tetradic
#CF7ED2 #D2A57E #81D27E #7EABD2
square
#CF7ED2 #D2A57E #81D27E #7EABD2
split-complementary
#CF7ED2 #ABD27E #7ED2A5
monochromatic
#9B379E #BE51C2 #CF7ED2 #E0ABE2 #F1D9F2

Accessibility & contrast

On white

2.77
#CF7ED2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.57
#CF7ED2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7ED2
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7ED2#FFFFFF#000000##000000
##CF7ED21.002.777.577.57
#FFFFFF2.771.0021.0021.00
#0000007.5721.001.001.00
##0000007.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7695D5
Deuteranopia (green-blind)
#8C9FCF
Tritanopia (blue-blind)
#D3879E
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #cf7ed2;
/* rgb */ color: rgb(207, 126, 210);
/* oklch */ color: oklch(70.8% 0.147 325.7);
Tailwind
colors: {
  custom: {
    50: '#dfa5e0',
    500: '#cf7ed2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ed2;
$custom-light: #dfa5e0;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ed2",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 210
  },
  "hsl": {
    "h": 297.857,
    "s": 48.276,
    "l": 65.882
  },
  "oklch": {
    "l": 0.70786,
    "c": 0.14728,
    "h": 325.7
  },
  "luminance": 0.3284
}

Semantic roles & 50–950 ramp

primary
#CF7ED2
secondary
#C9E4C8
accent
#BC2A2F
background
#FDFAFD
surface
#FBF4FB
border
#D4CED4
text
#150F15
muted
#837F83

Preview Lab

Preview with #CF7ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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