#CF7EF1#CF7EF1

#CF7EF1 is a light, vivid purple. Relative luminance 0.345; OKLCH L 72.2% C 0.179 H 315.2°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#CF7EF1
RGBrgb(207, 126, 241)
HSLhsl(282, 80%, 72%)
HSVhsv(282, 48%, 95%)
CMYKcmyk(14.1%, 47.7%, 0%, 5.5%)
CIE-LABlab(65.39, 50.29, -45.46)
CIE-LCHlch(65.39, 67.80, 317.89°)
OKLaboklab(72.24% 0.1271 -0.1263)
OKLCHoklch(72.24% 0.179 315.2)
XYZxyz(49.0677, 34.5393, 87.2840)
Luminance0.3454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EF1 #A0F17E
analogous
#967EF1 #CF7EF1 #F17EDA
triadic
#CF7EF1 #F1CF7E #7EF1CF
tetradic
#CF7EF1 #F1967E #A0F17E #7EDAF1
square
#CF7EF1 #F1967E #A0F17E #7EDAF1
split-complementary
#CF7EF1 #DAF17E #7EF196
monochromatic
#A218DD #BA47EB #CF7EF1 #E4B5F7 #F5E3FC

Accessibility & contrast

On white

2.66
#CF7EF1 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#CF7EF1 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EF1
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EF1#FFFFFF#000000##000000
##CF7EF11.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#679AF5
Deuteranopia (green-blind)
#7EA1EE
Tritanopia (blue-blind)
#CD8FAC
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7ef1;
/* rgb */ color: rgb(207, 126, 241);
/* oklch */ color: oklch(72.2% 0.179 315.2);
Tailwind
colors: {
  custom: {
    50: '#e0a5f6',
    500: '#cf7ef1',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ef1;
$custom-light: #e0a5f6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ef1",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 241
  },
  "hsl": {
    "h": 282.261,
    "s": 80.42,
    "l": 71.961
  },
  "oklch": {
    "l": 0.72242,
    "c": 0.17917,
    "h": 315.2
  },
  "luminance": 0.34538
}

Semantic roles & 50–950 ramp

primary
#CF7EF1
secondary
#E0F4D7
accent
#DD0947
background
#FDFAFF
surface
#FBF4FE
border
#D4CED6
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7EF1

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

Preview Lab → · Contrast checker → · Palette generator →

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