#CF7DF8#CF7DF8

#CF7DF8 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.5% C 0.188 H 313.4°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#CF7DF8
RGBrgb(207, 125, 248)
HSLhsl(280, 90%, 73%)
HSVhsv(280, 50%, 97%)
CMYKcmyk(16.5%, 49.6%, 0%, 2.7%)
CIE-LABlab(65.52, 52.25, -49.10)
CIE-LCHlch(65.52, 71.70, 316.78°)
OKLaboklab(72.45% 0.1293 -0.1368)
OKLCHoklch(72.45% 0.188 313.4)
XYZxyz(50.0062, 34.7112, 92.8544)
Luminance0.3471 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7DF8 #A6F87D
analogous
#917DF8 #CF7DF8 #F87DE3
triadic
#CF7DF8 #F8CF7D #7DF8CF
tetradic
#CF7DF8 #F8917D #A6F87D #7DE3F8
square
#CF7DF8 #F8917D #A6F87D #7DE3F8
split-complementary
#CF7DF8 #E3F87D #7DF891
monochromatic
#A30DEE #BA43F5 #CF7DF8 #E4B7FB #F4E2FD

Accessibility & contrast

On white

2.64
#CF7DF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.94
#CF7DF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7DF8
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7DF8#FFFFFF#000000##000000
##CF7DF81.002.647.947.94
#FFFFFF2.641.0021.0021.00
#0000007.9421.001.001.00
##0000007.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#619BFC
Deuteranopia (green-blind)
#79A1F5
Tritanopia (blue-blind)
#CB90AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7df8;
/* rgb */ color: rgb(207, 125, 248);
/* oklch */ color: oklch(72.5% 0.188 313.4);
Tailwind
colors: {
  custom: {
    50: '#e0a5fb',
    500: '#cf7df8',
    950: '#000000',
  },
}
SCSS
$custom: #cf7df8;
$custom-light: #e0a5fb;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7df8",
  "rgb": {
    "r": 207,
    "g": 125,
    "b": 248
  },
  "hsl": {
    "h": 280,
    "s": 89.781,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72451,
    "c": 0.18824,
    "h": 313.4
  },
  "luminance": 0.3471
}

Semantic roles & 50–950 ramp

primary
#CF7DF8
secondary
#E0F6D5
accent
#E6004C
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F17
muted
#847F85

Preview Lab

Preview with #CF7DF8

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

Preview Lab → · Contrast checker → · Palette generator →

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