#CE7CFF#CE7CFF

#CE7CFF is a light, vivid violet. Relative luminance 0.348; OKLCH L 72.6% C 0.197 H 311.3°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CE7CFF
RGBrgb(206, 124, 255)
HSLhsl(278, 100%, 74%)
HSVhsv(278, 51%, 100%)
CMYKcmyk(19.2%, 51.4%, 0%, 0%)
CIE-LABlab(65.56, 53.97, -52.89)
CIE-LCHlch(65.56, 75.57, 315.58°)
OKLaboklab(72.57% 0.1301 -0.1479)
OKLCHoklch(72.57% 0.197 311.3)
XYZxyz(50.7080, 34.7582, 98.6261)
Luminance0.3476 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7CFF #ADFF7C
analogous
#8D7CFF #CE7CFF #FF7CEF
triadic
#CE7CFF #FFCE7C #7CFFCE
tetradic
#CE7CFF #FF8D7C #ADFF7C #7CEFFF
square
#CE7CFF #FF8D7C #ADFF7C #7CEFFF
split-complementary
#CE7CFF #EFFF7C #7CFF8D
monochromatic
#A002FF #B73FFF #CE7CFF #E5B9FF #F4E0FF

Accessibility & contrast

On white

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

On black

7.95
#CE7CFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7CFF
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7CFF#FFFFFF#000000##000000
##CE7CFF1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A9BFF
Deuteranopia (green-blind)
#73A1FC
Tritanopia (blue-blind)
#C892B2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #ce7cff;
/* rgb */ color: rgb(206, 124, 255);
/* oklch */ color: oklch(72.6% 0.197 311.3);
Tailwind
colors: {
  custom: {
    50: '#dfa4ff',
    500: '#ce7cff',
    950: '#000000',
  },
}
SCSS
$custom: #ce7cff;
$custom-light: #dfa4ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7cff",
  "rgb": {
    "r": 206,
    "g": 124,
    "b": 255
  },
  "hsl": {
    "h": 277.557,
    "s": 100,
    "l": 74.314
  },
  "oklch": {
    "l": 0.72566,
    "c": 0.19694,
    "h": 311.3
  },
  "luminance": 0.34757
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE7CFF

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

Preview Lab → · Contrast checker → · Palette generator →

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