#CF7AF9#CF7AF9

#CF7AF9 is a light, vivid purple. Relative luminance 0.340; OKLCH L 72.1% C 0.194 H 313.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#CF7AF9
RGBrgb(207, 122, 249)
HSLhsl(280, 91%, 73%)
HSVhsv(280, 51%, 98%)
CMYKcmyk(16.9%, 51%, 0%, 2.4%)
CIE-LABlab(64.98, 53.99, -50.51)
CIE-LCHlch(64.98, 73.93, 316.91°)
OKLaboklab(72.07% 0.1333 -0.1409)
OKLCHoklch(72.07% 0.194 313.4)
XYZxyz(49.7877, 34.0253, 93.5490)
Luminance0.3402 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7AF9 #A4F97A
analogous
#8F7AF9 #CF7AF9 #F97AE4
triadic
#CF7AF9 #F9CF7A #7AF9CF
tetradic
#CF7AF9 #F98F7A #A4F97A #7AE4F9
square
#CF7AF9 #F98F7A #A4F97A #7AE4F9
split-complementary
#CF7AF9 #E4F97A #7AF98F
monochromatic
#A30BEE #BA3FF6 #CF7AF9 #E4B5FC #F4E2FE

Accessibility & contrast

On white

2.69
#CF7AF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#CF7AF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7AF9
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7AF9#FFFFFF#000000##000000
##CF7AF91.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B99FD
Deuteranopia (green-blind)
#76A0F6
Tritanopia (blue-blind)
#CB8EAE
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf7af9;
/* rgb */ color: rgb(207, 122, 249);
/* oklch */ color: oklch(72.1% 0.194 313.4);
Tailwind
colors: {
  custom: {
    50: '#e0a3fc',
    500: '#cf7af9',
    950: '#000000',
  },
}
SCSS
$custom: #cf7af9;
$custom-light: #e0a3fc;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7af9",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 249
  },
  "hsl": {
    "h": 280.157,
    "s": 91.367,
    "l": 72.745
  },
  "oklch": {
    "l": 0.72067,
    "c": 0.19398,
    "h": 313.4
  },
  "luminance": 0.34024
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7AF9

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

Preview Lab → · Contrast checker → · Palette generator →

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