#C754EF#C754EF

#C754EF is a light, highly saturated purple. Relative luminance 0.247; OKLCH L 65.7% C 0.235 H 316.2°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#C754EF
RGBrgb(199, 84, 239)
HSLhsl(285, 83%, 63%)
HSVhsv(285, 65%, 94%)
CMYKcmyk(16.7%, 64.9%, 0%, 6.3%)
CIE-LABlab(56.80, 67.96, -58.05)
CIE-LCHlch(56.80, 89.38, 319.50°)
OKLaboklab(65.71% 0.1698 -0.1629)
OKLCHoklch(65.71% 0.235 316.2)
XYZxyz(42.3011, 24.7163, 84.1871)
Luminance0.2472 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754EF #7CEF54
analogous
#7954EF #C754EF #EF54C9
triadic
#C754EF #EFC754 #54EFC7
tetradic
#C754EF #EF7954 #7CEF54 #54C9EF
square
#C754EF #EF7954 #7CEF54 #54C9EF
split-complementary
#C754EF #C9EF54 #54EF79
monochromatic
#8D11B7 #B51CEA #C754EF #D98CF4 #ECC4F9

Accessibility & contrast

On white

3.53
#C754EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#C754EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754EF
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754EF#FFFFFF#000000##000000
##C754EF1.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B81F4
Deuteranopia (green-blind)
#548CEB
Tritanopia (blue-blind)
#C5719B
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c754ef;
/* rgb */ color: rgb(199, 84, 239);
/* oklch */ color: oklch(65.7% 0.235 316.2);
Tailwind
colors: {
  custom: {
    50: '#dc8cf5',
    500: '#c754ef',
    950: '#000000',
  },
}
SCSS
$custom: #c754ef;
$custom-light: #dc8cf5;
$custom-dark: #000000;
JSON
{
  "hex": "#c754ef",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 284.516,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.65708,
    "c": 0.23533,
    "h": 316.2
  },
  "luminance": 0.24715
}

Semantic roles & 50–950 ramp

primary
#C754EF
secondary
#C2EBB4
accent
#DF063E
background
#FDF8FF
surface
#FBF0FE
border
#D4CBD6
text
#150D17
muted
#837D85

Preview Lab

Preview with #C754EF

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

Preview Lab → · Contrast checker → · Palette generator →

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