#CE7AFF#CE7AFF

#CE7AFF is a light, highly saturated violet. Relative luminance 0.343; OKLCH L 72.3% C 0.200 H 311.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#CE7AFF
RGBrgb(206, 122, 255)
HSLhsl(278, 100%, 74%)
HSVhsv(278, 52%, 100%)
CMYKcmyk(19.2%, 52.2%, 0%, 0%)
CIE-LABlab(65.17, 54.99, -53.51)
CIE-LCHlch(65.17, 76.73, 315.78°)
OKLaboklab(72.28% 0.1327 -0.1497)
OKLCHoklch(72.28% 0.2 311.5)
XYZxyz(50.4599, 34.2619, 98.5434)
Luminance0.3426 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CE7AFF #ABFF7A
analogous
#8C7AFF #CE7AFF #FF7AED
triadic
#CE7AFF #FFCE7A #7AFFCE
tetradic
#CE7AFF #FF8C7A #ABFF7A #7AEDFF
square
#CE7AFF #FF8C7A #ABFF7A #7AEDFF
split-complementary
#CE7AFF #EDFF7A #7AFF8C
monochromatic
#A100FF #B73DFF #CE7AFF #E5B7FF #F4E0FF

Accessibility & contrast

On white

2.67
#CE7AFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#CE7AFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CE7AFF
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CE7AFF#FFFFFF#000000##000000
##CE7AFF1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#569AFF
Deuteranopia (green-blind)
#71A0FC
Tritanopia (blue-blind)
#C990B1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #ce7aff;
/* rgb */ color: rgb(206, 122, 255);
/* oklch */ color: oklch(72.3% 0.200 311.5);
Tailwind
colors: {
  custom: {
    50: '#e0a3ff',
    500: '#ce7aff',
    950: '#000000',
  },
}
SCSS
$custom: #ce7aff;
$custom-light: #e0a3ff;
$custom-dark: #000000;
JSON
{
  "hex": "#ce7aff",
  "rgb": {
    "r": 206,
    "g": 122,
    "b": 255
  },
  "hsl": {
    "h": 277.895,
    "s": 100,
    "l": 73.922
  },
  "oklch": {
    "l": 0.72278,
    "c": 0.2,
    "h": 311.5
  },
  "luminance": 0.34261
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CE7AFF

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

Preview Lab → · Contrast checker → · Palette generator →

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