#CF7DF7#CF7DF7

#CF7DF7 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.4% C 0.187 H 313.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CF7DF7
RGBrgb(207, 125, 247)
HSLhsl(280, 88%, 73%)
HSVhsv(280, 49%, 97%)
CMYKcmyk(16.2%, 49.4%, 0%, 3.1%)
CIE-LABlab(65.47, 52.04, -48.63)
CIE-LCHlch(65.47, 71.23, 316.94°)
OKLaboklab(72.4% 0.1291 -0.1355)
OKLCHoklch(72.4% 0.187 313.6)
XYZxyz(49.8515, 34.6493, 92.0395)
Luminance0.3465 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DF7 #A5F77D
analogous
#927DF7 #CF7DF7 #F77DE2
triadic
#CF7DF7 #F7CF7D #7DF7CF
tetradic
#CF7DF7 #F7927D #A5F77D #7DE2F7
square
#CF7DF7 #F7927D #A5F77D #7DE2F7
split-complementary
#CF7DF7 #E2F77D #7DF792
monochromatic
#A30EEB #BA43F3 #CF7DF7 #E4B7FB #F4E2FD

Accessibility & contrast

On white

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

On black

7.93
#CF7DF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DF7
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DF7#FFFFFF#000000##000000
##CF7DF71.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#619AFB
Deuteranopia (green-blind)
#7AA1F4
Tritanopia (blue-blind)
#CC90AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7df7;
/* rgb */ color: rgb(207, 125, 247);
/* oklch */ color: oklch(72.4% 0.187 313.6);
Tailwind
colors: {
  custom: {
    50: '#e0a5fa',
    500: '#cf7df7',
    950: '#000000',
  },
}
SCSS
$custom: #cf7df7;
$custom-light: #e0a5fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7df7",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 247
  },
  "hsl": {
    "h": 280.328,
    "s": 88.406,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72399,
    "c": 0.18717,
    "h": 313.6
  },
  "luminance": 0.34648
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7DF7

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

Preview Lab → · Contrast checker → · Palette generator →

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