#C754EC#C754EC

#C754EC is a light, highly saturated purple. Relative luminance 0.245; OKLCH L 65.5% C 0.233 H 316.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#C754EC
RGBrgb(199, 84, 236)
HSLhsl(285, 80%, 63%)
HSVhsv(285, 64%, 93%)
CMYKcmyk(15.7%, 64.4%, 0%, 7.5%)
CIE-LABlab(56.62, 67.38, -56.65)
CIE-LCHlch(56.62, 88.03, 319.94°)
OKLaboklab(65.53% 0.1699 -0.1588)
OKLCHoklch(65.53% 0.233 316.9)
XYZxyz(41.8616, 24.5405, 81.8723)
Luminance0.2454 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754EC #79EC54
analogous
#7B54EC #C754EC #EC54C5
triadic
#C754EC #ECC754 #54ECC7
tetradic
#C754EC #EC7B54 #79EC54 #54C5EC
square
#C754EC #EC7B54 #79EC54 #54C5EC
split-complementary
#C754EC #C5EC54 #54EC7B
monochromatic
#8B14B2 #B51DE6 #C754EC #D98BF2 #EBC2F8

Accessibility & contrast

On white

3.55
#C754EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#C754EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754EC
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754EC#FFFFFF#000000##000000
##C754EC1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#1781F1
Deuteranopia (green-blind)
#578BE8
Tritanopia (blue-blind)
#C57099
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c754ec;
/* rgb */ color: rgb(199, 84, 236);
/* oklch */ color: oklch(65.5% 0.233 316.9);
Tailwind
colors: {
  custom: {
    50: '#dc8cf3',
    500: '#c754ec',
    950: '#000000',
  },
}
SCSS
$custom: #c754ec;
$custom-light: #dc8cf3;
$custom-dark: #000000;
JSON
{
  "hex": "#c754ec",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 236
  },
  "hsl": {
    "h": 285.395,
    "s": 80,
    "l": 62.745
  },
  "oklch": {
    "l": 0.65528,
    "c": 0.23258,
    "h": 316.9
  },
  "luminance": 0.24539
}

Semantic roles & 50–950 ramp

primary
#C754EC
secondary
#C0E9B2
accent
#DC093D
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #C754EC

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

Preview Lab → · Contrast checker → · Palette generator →

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