#CE7EFE#CE7EFE

#CE7EFE is a light, vivid violet. Relative luminance 0.352; OKLCH L 72.8% C 0.193 H 311.3°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#CE7EFE
RGBrgb(206, 126, 254)
HSLhsl(278, 98%, 75%)
HSVhsv(278, 50%, 100%)
CMYKcmyk(18.9%, 50.4%, 0%, 0.4%)
CIE-LABlab(65.90, 52.73, -51.80)
CIE-LCHlch(65.90, 73.92, 315.51°)
OKLaboklab(72.8% 0.1274 -0.1447)
OKLCHoklch(72.8% 0.193 311.3)
XYZxyz(50.8006, 35.2003, 97.8649)
Luminance0.3520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7EFE #AEFE7E
analogous
#8E7EFE #CE7EFE #FE7EEE
triadic
#CE7EFE #FECE7E #7EFECE
tetradic
#CE7EFE #FE8E7E #AEFE7E #7EEEFE
square
#CE7EFE #FE8E7E #AEFE7E #7EEEFE
split-complementary
#CE7EFE #EEFE7E #7EFE8E
monochromatic
#A005FD #B741FE #CE7EFE #E5BBFE #F3E1FF

Accessibility & contrast

On white

2.61
#CE7EFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#CE7EFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7EFE
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7EFE#FFFFFF#000000##000000
##CE7EFE1.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D9CFF
Deuteranopia (green-blind)
#76A2FB
Tritanopia (blue-blind)
#C993B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ce7efe;
/* rgb */ color: rgb(206, 126, 254);
/* oklch */ color: oklch(72.8% 0.193 311.3);
Tailwind
colors: {
  custom: {
    50: '#dfa6ff',
    500: '#ce7efe',
    950: '#000000',
  },
}
SCSS
$custom: #ce7efe;
$custom-light: #dfa6ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7efe",
  "rgb": {
    "r": 206,
    "g": 126,
    "b": 254
  },
  "hsl": {
    "h": 277.5,
    "s": 98.462,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72804,
    "c": 0.19278,
    "h": 311.3
  },
  "luminance": 0.35199
}

Semantic roles & 50–950 ramp

primary
#CE7EFE
secondary
#E1F7D4
accent
#E60056
background
#FEFAFF
surface
#FCF4FF
border
#D5CED7
text
#150F18
muted
#847F86

Preview Lab

Preview with #CE7EFE

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

Preview Lab → · Contrast checker → · Palette generator →

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