#CF7EFE#CF7EFE

#CF7EFE is a light, vivid violet. Relative luminance 0.353; OKLCH L 72.9% C 0.193 H 311.7°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CF7EFE
RGBrgb(207, 126, 254)
HSLhsl(278, 98%, 75%)
HSVhsv(278, 50%, 100%)
CMYKcmyk(18.5%, 50.4%, 0%, 0.4%)
CIE-LABlab(66.02, 53.00, -51.62)
CIE-LCHlch(66.02, 73.98, 315.76°)
OKLaboklab(72.91% 0.1285 -0.1442)
OKLCHoklch(72.91% 0.193 311.7)
XYZxyz(51.0792, 35.3439, 97.8780)
Luminance0.3534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EFE #ADFE7E
analogous
#8F7EFE #CF7EFE #FE7EED
triadic
#CF7EFE #FECF7E #7EFECF
tetradic
#CF7EFE #FE8F7E #ADFE7E #7EEDFE
square
#CF7EFE #FE8F7E #ADFE7E #7EEDFE
split-complementary
#CF7EFE #EDFE7E #7EFE8F
monochromatic
#A205FD #B841FE #CF7EFE #E6BBFE #F4E1FF

Accessibility & contrast

On white

2.60
#CF7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CF7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EFE
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EFE#FFFFFF#000000##000000
##CF7EFE1.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E9CFF
Deuteranopia (green-blind)
#77A2FB
Tritanopia (blue-blind)
#CA93B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf7efe;
/* rgb */ color: rgb(207, 126, 254);
/* oklch */ color: oklch(72.9% 0.193 311.7);
Tailwind
colors: {
  custom: {
    50: '#e0a6ff',
    500: '#cf7efe',
    950: '#000000',
  },
}
SCSS
$custom: #cf7efe;
$custom-light: #e0a6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7efe",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 277.969,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72911,
    "c": 0.19314,
    "h": 311.7
  },
  "luminance": 0.35343
}

Semantic roles & 50–950 ramp

primary
#CF7EFE
secondary
#E1F7D4
accent
#E60054
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#160F18
muted
#847F86

Preview Lab

Preview with #CF7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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