#CF7EF4#CF7EF4

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

Color values

HEX#CF7EF4
RGBrgb(207, 126, 244)
HSLhsl(281, 84%, 73%)
HSVhsv(281, 48%, 96%)
CMYKcmyk(15.2%, 48.4%, 0%, 4.3%)
CIE-LABlab(65.53, 50.91, -46.89)
CIE-LCHlch(65.53, 69.21, 317.35°)
OKLaboklab(72.39% 0.1275 -0.1304)
OKLCHoklch(72.39% 0.182 314.3)
XYZxyz(49.5195, 34.7201, 89.6635)
Luminance0.3472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EF4 #A3F47E
analogous
#947EF4 #CF7EF4 #F47EDE
triadic
#CF7EF4 #F4CF7E #7EF4CF
tetradic
#CF7EF4 #F4947E #A3F47E #7EDEF4
square
#CF7EF4 #F4947E #A3F47E #7EDEF4
split-complementary
#CF7EF4 #DEF47E #7EF494
monochromatic
#A313E4 #BA46EF #CF7EF4 #E4B6F9 #F5E3FD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF7EF4#FFFFFF#000000##000000
##CF7EF41.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)
#659AF8
Deuteranopia (green-blind)
#7CA1F1
Tritanopia (blue-blind)
#CC90AE
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7ef4;
/* rgb */ color: rgb(207, 126, 244);
/* oklch */ color: oklch(72.4% 0.182 314.3);
Tailwind
colors: {
  custom: {
    50: '#e0a6f8',
    500: '#cf7ef4',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ef4;
$custom-light: #e0a6f8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ef4",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 244
  },
  "hsl": {
    "h": 281.186,
    "s": 84.286,
    "l": 72.549
  },
  "oklch": {
    "l": 0.72393,
    "c": 0.18238,
    "h": 314.3
  },
  "luminance": 0.34719
}

Semantic roles & 50–950 ramp

primary
#CF7EF4
secondary
#E0F5D6
accent
#E1054A
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7EF4

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

Preview Lab → · Contrast checker → · Palette generator →

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