#CE7DFE#CE7DFE

#CE7DFE is a light, vivid violet. Relative luminance 0.349; OKLCH L 72.7% C 0.194 H 311.5°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#CE7DFE
RGBrgb(206, 125, 254)
HSLhsl(278, 98%, 74%)
HSVhsv(278, 51%, 100%)
CMYKcmyk(18.9%, 50.8%, 0%, 0.4%)
CIE-LABlab(65.71, 53.25, -52.11)
CIE-LCHlch(65.71, 74.50, 315.62°)
OKLaboklab(72.66% 0.1287 -0.1456)
OKLCHoklch(72.66% 0.194 311.5)
XYZxyz(50.6734, 34.9458, 97.8225)
Luminance0.3494 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7DFE #ADFE7D
analogous
#8E7DFE #CE7DFE #FE7DEE
triadic
#CE7DFE #FECE7D #7DFECE
tetradic
#CE7DFE #FE8E7D #ADFE7D #7DEEFE
square
#CE7DFE #FE8E7D #ADFE7D #7DEEFE
split-complementary
#CE7DFE #EEFE7D #7DFE8E
monochromatic
#A004FD #B740FE #CE7DFE #E5BAFE #F4E1FF

Accessibility & contrast

On white

2.63
#CE7DFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.99
#CE7DFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7DFE
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7DFE#FFFFFF#000000##000000
##CE7DFE1.002.637.997.99
#FFFFFF2.631.0021.0021.00
#0000007.9921.001.001.00
##0000007.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C9CFF
Deuteranopia (green-blind)
#75A1FB
Tritanopia (blue-blind)
#C992B2
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ce7dfe;
/* rgb */ color: rgb(206, 125, 254);
/* oklch */ color: oklch(72.7% 0.194 311.5);
Tailwind
colors: {
  custom: {
    50: '#dfa5ff',
    500: '#ce7dfe',
    950: '#000000',
  },
}
SCSS
$custom: #ce7dfe;
$custom-light: #dfa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7dfe",
  "rgb": {
    "r": 206,
    "g": 125,
    "b": 254
  },
  "hsl": {
    "h": 277.674,
    "s": 98.473,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72658,
    "c": 0.19433,
    "h": 311.5
  },
  "luminance": 0.34945
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE7DFE

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

Preview Lab → · Contrast checker → · Palette generator →

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