#CF7EF6#CF7EF6

#CF7EF6 is a light, vivid purple. Relative luminance 0.348; OKLCH L 72.5% C 0.185 H 313.8°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#CF7EF6
RGBrgb(207, 126, 246)
HSLhsl(281, 87%, 73%)
HSVhsv(281, 49%, 96%)
CMYKcmyk(15.9%, 48.8%, 0%, 3.5%)
CIE-LABlab(65.63, 51.32, -47.84)
CIE-LCHlch(65.63, 70.16, 317.01°)
OKLaboklab(72.5% 0.1277 -0.1332)
OKLCHoklch(72.5% 0.185 313.8)
XYZxyz(49.8248, 34.8422, 91.2714)
Luminance0.3484 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EF6 #A5F67E
analogous
#937EF6 #CF7EF6 #F67EE1
triadic
#CF7EF6 #F6CF7E #7EF6CF
tetradic
#CF7EF6 #F6937E #A5F67E #7EE1F6
square
#CF7EF6 #F6937E #A5F67E #7EE1F6
split-complementary
#CF7EF6 #E1F67E #7EF693
monochromatic
#A310E9 #BA45F2 #CF7EF6 #E4B7FA #F4E2FD

Accessibility & contrast

On white

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

On black

7.97
#CF7EF6 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EF6
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EF6#FFFFFF#000000##000000
##CF7EF61.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf7ef6;
/* rgb */ color: rgb(207, 126, 246);
/* oklch */ color: oklch(72.5% 0.185 313.8);
Tailwind
colors: {
  custom: {
    50: '#e0a6f9',
    500: '#cf7ef6',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ef6;
$custom-light: #e0a6f9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ef6",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 246
  },
  "hsl": {
    "h": 280.5,
    "s": 86.957,
    "l": 72.941
  },
  "oklch": {
    "l": 0.72495,
    "c": 0.18452,
    "h": 313.8
  },
  "luminance": 0.34841
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7EF6

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

Preview Lab → · Contrast checker → · Palette generator →

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