#CF7EF2#CF7EF2

#CF7EF2 is a light, vivid purple. Relative luminance 0.346; OKLCH L 72.3% C 0.180 H 314.9°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#CF7EF2
RGBrgb(207, 126, 242)
HSLhsl(282, 82%, 72%)
HSVhsv(282, 48%, 95%)
CMYKcmyk(14.5%, 47.9%, 0%, 5.1%)
CIE-LABlab(65.44, 50.50, -45.94)
CIE-LCHlch(65.44, 68.27, 317.70°)
OKLaboklab(72.29% 0.1272 -0.1277)
OKLCHoklch(72.29% 0.18 314.9)
XYZxyz(49.2175, 34.5992, 88.0728)
Luminance0.3460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EF2 #A1F27E
analogous
#957EF2 #CF7EF2 #F27EDB
triadic
#CF7EF2 #F2CF7E #7EF2CF
tetradic
#CF7EF2 #F2957E #A1F27E #7EDBF2
square
#CF7EF2 #F2957E #A1F27E #7EDBF2
split-complementary
#CF7EF2 #DBF27E #7EF295
monochromatic
#A316DF #BA46EC #CF7EF2 #E4B6F8 #F5E3FC

Accessibility & contrast

On white

2.65
#CF7EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#CF7EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EF2
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EF2#FFFFFF#000000##000000
##CF7EF21.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#669AF6
Deuteranopia (green-blind)
#7DA1EF
Tritanopia (blue-blind)
#CD8FAD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7ef2;
/* rgb */ color: rgb(207, 126, 242);
/* oklch */ color: oklch(72.3% 0.180 314.9);
Tailwind
colors: {
  custom: {
    50: '#e0a5f7',
    500: '#cf7ef2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ef2;
$custom-light: #e0a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ef2",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 242
  },
  "hsl": {
    "h": 281.897,
    "s": 81.69,
    "l": 72.157
  },
  "oklch": {
    "l": 0.72292,
    "c": 0.18023,
    "h": 314.9
  },
  "luminance": 0.34598
}

Semantic roles & 50–950 ramp

primary
#CF7EF2
secondary
#E0F4D7
accent
#DE0748
background
#FDFAFF
surface
#FBF4FF
border
#D4CED7
text
#150F17
muted
#837F85

Preview Lab

Preview with #CF7EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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