#C754EB#C754EB

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

Color values

HEX#C754EB
RGBrgb(199, 84, 235)
HSLhsl(286, 79%, 63%)
HSVhsv(286, 64%, 92%)
CMYKcmyk(15.3%, 64.3%, 0%, 7.8%)
CIE-LABlab(56.57, 67.19, -56.18)
CIE-LCHlch(56.57, 87.58, 320.10°)
OKLaboklab(65.47% 0.1699 -0.1575)
OKLCHoklch(65.47% 0.232 317.2)
XYZxyz(41.7167, 24.4826, 81.1093)
Luminance0.2448 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754EB #78EB54
analogous
#7B54EB #C754EB #EB54C4
triadic
#C754EB #EBC754 #54EBC7
tetradic
#C754EB #EB7B54 #78EB54 #54C4EB
square
#C754EB #EB7B54 #78EB54 #54C4EB
split-complementary
#C754EB #C4EB54 #54EB7B
monochromatic
#8B15B0 #B51DE5 #C754EB #D98BF1 #EBC2F8

Accessibility & contrast

On white

3.56
#C754EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#C754EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754EB
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754EB#FFFFFF#000000##000000
##C754EB1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A80F0
Deuteranopia (green-blind)
#588BE7
Tritanopia (blue-blind)
#C66F99
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #c754eb;
/* rgb */ color: rgb(199, 84, 235);
/* oklch */ color: oklch(65.5% 0.232 317.2);
Tailwind
colors: {
  custom: {
    50: '#dc8bf2',
    500: '#c754eb',
    950: '#000000',
  },
}
SCSS
$custom: #c754eb;
$custom-light: #dc8bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#c754eb",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 235
  },
  "hsl": {
    "h": 285.695,
    "s": 79.058,
    "l": 62.549
  },
  "oklch": {
    "l": 0.65468,
    "c": 0.23167,
    "h": 317.2
  },
  "luminance": 0.24481
}

Semantic roles & 50–950 ramp

primary
#C754EB
secondary
#BFE9B2
accent
#DB0A3C
background
#FDF8FE
surface
#FBF0FD
border
#D4CBD5
text
#150D17
muted
#837D85

Preview Lab

Preview with #C754EB

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

Preview Lab → · Contrast checker → · Palette generator →

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