#CE7DFF#CE7DFF

#CE7DFF is a light, vivid violet. Relative luminance 0.350; OKLCH L 72.7% C 0.195 H 311.2°. Best body text is #000000 at 8.00:1 contrast (WCAG AA passes).

Color values

HEX#CE7DFF
RGBrgb(206, 125, 255)
HSLhsl(277, 100%, 75%)
HSVhsv(277, 51%, 100%)
CMYKcmyk(19.2%, 51%, 0%, 0%)
CIE-LABlab(65.76, 53.46, -52.58)
CIE-LCHlch(65.76, 74.98, 315.48°)
OKLaboklab(72.71% 0.1288 -0.147)
OKLCHoklch(72.71% 0.195 311.2)
XYZxyz(50.8340, 35.0101, 98.6681)
Luminance0.3501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7DFF #AEFF7D
analogous
#8D7DFF #CE7DFF #FF7DEF
triadic
#CE7DFF #FFCE7D #7DFFCE
tetradic
#CE7DFF #FF8D7D #AEFF7D #7DEFFF
square
#CE7DFF #FF8D7D #AEFF7D #7DEFFF
split-complementary
#CE7DFF #EFFF7D #7DFF8D
monochromatic
#A003FF #B740FF #CE7DFF #E5BAFF #F3E0FF

Accessibility & contrast

On white

2.62
#CE7DFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.00
#CE7DFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7DFF
8.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7DFF#FFFFFF#000000##000000
##CE7DFF1.002.628.008.00
#FFFFFF2.621.0021.0021.00
#0000008.0021.001.001.00
##0000008.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B9CFF
Deuteranopia (green-blind)
#74A1FC
Tritanopia (blue-blind)
#C893B3
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #ce7dff;
/* rgb */ color: rgb(206, 125, 255);
/* oklch */ color: oklch(72.7% 0.195 311.2);
Tailwind
colors: {
  custom: {
    50: '#dfa5ff',
    500: '#ce7dff',
    950: '#000000',
  },
}
SCSS
$custom: #ce7dff;
$custom-light: #dfa5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7dff",
  "rgb": {
    "r": 206,
    "g": 125,
    "b": 255
  },
  "hsl": {
    "h": 277.385,
    "s": 100,
    "l": 74.51
  },
  "oklch": {
    "l": 0.72711,
    "c": 0.19541,
    "h": 311.2
  },
  "luminance": 0.35009
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE7DFF

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

Preview Lab → · Contrast checker → · Palette generator →

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