#CF7EF7#CF7EF7

#CF7EF7 is a light, vivid purple. Relative luminance 0.349; OKLCH L 72.5% C 0.186 H 313.5°. Best body text is #000000 at 7.98:1 contrast (WCAG AA passes).

Color values

HEX#CF7EF7
RGBrgb(207, 126, 247)
HSLhsl(280, 88%, 73%)
HSVhsv(280, 49%, 97%)
CMYKcmyk(16.2%, 49%, 0%, 3.1%)
CIE-LABlab(65.67, 51.53, -48.32)
CIE-LCHlch(65.67, 70.64, 316.84°)
OKLaboklab(72.55% 0.1278 -0.1346)
OKLCHoklch(72.55% 0.186 313.5)
XYZxyz(49.9787, 34.9037, 92.0820)
Luminance0.3490 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EF7 #A6F77E
analogous
#927EF7 #CF7EF7 #F77EE3
triadic
#CF7EF7 #F7CF7E #7EF7CF
tetradic
#CF7EF7 #F7927E #A6F77E #7EE3F7
square
#CF7EF7 #F7927E #A6F77E #7EE3F7
split-complementary
#CF7EF7 #E3F77E #7EF792
monochromatic
#A30FEC #BA44F3 #CF7EF7 #E4B8FB #F4E2FD

Accessibility & contrast

On white

2.63
#CF7EF7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.98
#CF7EF7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EF7
7.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EF7#FFFFFF#000000##000000
##CF7EF71.002.637.987.98
#FFFFFF2.631.0021.0021.00
#0000007.9821.001.001.00
##0000007.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#639BFB
Deuteranopia (green-blind)
#7BA2F4
Tritanopia (blue-blind)
#CC91AF
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7ef7;
/* rgb */ color: rgb(207, 126, 247);
/* oklch */ color: oklch(72.5% 0.186 313.5);
Tailwind
colors: {
  custom: {
    50: '#e0a6fa',
    500: '#cf7ef7',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ef7;
$custom-light: #e0a6fa;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ef7",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 247
  },
  "hsl": {
    "h": 280.165,
    "s": 88.321,
    "l": 73.137
  },
  "oklch": {
    "l": 0.72546,
    "c": 0.18559,
    "h": 313.5
  },
  "luminance": 0.34903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7EF7

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

Preview Lab → · Contrast checker → · Palette generator →

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