#CF7DF6#CF7DF6

#CF7DF6 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.3% C 0.186 H 313.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CF7DF6
RGBrgb(207, 125, 246)
HSLhsl(281, 87%, 73%)
HSVhsv(281, 49%, 96%)
CMYKcmyk(15.9%, 49.2%, 0%, 3.5%)
CIE-LABlab(65.43, 51.84, -48.16)
CIE-LCHlch(65.43, 70.75, 317.11°)
OKLaboklab(72.35% 0.129 -0.1341)
OKLCHoklch(72.35% 0.186 313.9)
XYZxyz(49.6976, 34.5877, 91.2290)
Luminance0.3459 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DF6 #A4F67D
analogous
#927DF6 #CF7DF6 #F67DE1
triadic
#CF7DF6 #F6CF7D #7DF6CF
tetradic
#CF7DF6 #F6927D #A4F67D #7DE1F6
square
#CF7DF6 #F6927D #A4F67D #7DE1F6
split-complementary
#CF7DF6 #E1F67D #7DF692
monochromatic
#A310E9 #BA44F2 #CF7DF6 #E4B6FA #F4E2FD

Accessibility & contrast

On white

2.65
#CF7DF6 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CF7DF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DF6
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DF6#FFFFFF#000000##000000
##CF7DF61.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#629AFA
Deuteranopia (green-blind)
#7AA1F3
Tritanopia (blue-blind)
#CC90AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7df6;
/* rgb */ color: rgb(207, 125, 246);
/* oklch */ color: oklch(72.3% 0.186 313.9);
Tailwind
colors: {
  custom: {
    50: '#e0a5f9',
    500: '#cf7df6',
    950: '#000000',
  },
}
SCSS
$custom: #cf7df6;
$custom-light: #e0a5f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7df6",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 246
  },
  "hsl": {
    "h": 280.661,
    "s": 87.05,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72347,
    "c": 0.1861,
    "h": 313.9
  },
  "luminance": 0.34586
}

Semantic roles & 50–950 ramp

primary
#CF7DF6
secondary
#E0F5D6
accent
#E4024B
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF7DF6

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

Preview Lab → · Contrast checker → · Palette generator →

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