#CF7EF3#CF7EF3

#CF7EF3 is a light, vivid purple. Relative luminance 0.347; OKLCH L 72.3% C 0.181 H 314.6°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CF7EF3
RGBrgb(207, 126, 243)
HSLhsl(282, 83%, 72%)
HSVhsv(282, 48%, 95%)
CMYKcmyk(14.8%, 48.1%, 0%, 4.7%)
CIE-LABlab(65.48, 50.70, -46.42)
CIE-LCHlch(65.48, 68.74, 317.53°)
OKLaboklab(72.34% 0.1273 -0.1291)
OKLCHoklch(72.34% 0.181 314.6)
XYZxyz(49.3681, 34.6595, 88.8660)
Luminance0.3466 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EF3 #A2F37E
analogous
#947EF3 #CF7EF3 #F37EDD
triadic
#CF7EF3 #F3CF7E #7EF3CF
tetradic
#CF7EF3 #F3947E #A2F37E #7EDDF3
square
#CF7EF3 #F3947E #A2F37E #7EDDF3
split-complementary
#CF7EF3 #DDF37E #7EF394
monochromatic
#A315E2 #BA46EE #CF7EF3 #E4B6F8 #F5E3FC

Accessibility & contrast

On white

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

On black

7.93
#CF7EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EF3
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EF3#FFFFFF#000000##000000
##CF7EF31.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#659AF7
Deuteranopia (green-blind)
#7DA1F0
Tritanopia (blue-blind)
#CC90AD
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf7ef3;
/* rgb */ color: rgb(207, 126, 243);
/* oklch */ color: oklch(72.3% 0.181 314.6);
Tailwind
colors: {
  custom: {
    50: '#e0a5f7',
    500: '#cf7ef3',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ef3;
$custom-light: #e0a5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ef3",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 243
  },
  "hsl": {
    "h": 281.538,
    "s": 82.979,
    "l": 72.353
  },
  "oklch": {
    "l": 0.72342,
    "c": 0.1813,
    "h": 314.6
  },
  "luminance": 0.34658
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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