#C754FC#C754FC

#C754FC is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.5% C 0.247 H 313.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#C754FC
RGBrgb(199, 84, 252)
HSLhsl(281, 97%, 66%)
HSVhsv(281, 67%, 99%)
CMYKcmyk(21%, 66.7%, 0%, 1.2%)
CIE-LABlab(57.57, 70.52, -64.04)
CIE-LCHlch(57.57, 95.26, 317.76°)
OKLaboklab(66.51% 0.1691 -0.1805)
OKLCHoklch(66.51% 0.247 313.1)
XYZxyz(44.2911, 25.5123, 94.6678)
Luminance0.2551 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754FC #89FC54
analogous
#7354FC #C754FC #FC54DD
triadic
#C754FC #FCC754 #54FCC7
tetradic
#C754FC #FC7354 #89FC54 #54DDFC
square
#C754FC #FC7354 #89FC54 #54DDFC
split-complementary
#C754FC #DDFC54 #54FC73
monochromatic
#9104D2 #B318FB #C754FC #DB90FD #EECCFE

Accessibility & contrast

On white

3.44
#C754FC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#C754FC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754FC
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754FC#FFFFFF#000000##000000
##C754FC1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0084FF
Deuteranopia (green-blind)
#488DF8
Tritanopia (blue-blind)
#C176A2
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #c754fc;
/* rgb */ color: rgb(199, 84, 252);
/* oklch */ color: oklch(66.5% 0.247 313.1);
Tailwind
colors: {
  custom: {
    50: '#dc8cfe',
    500: '#c754fc',
    950: '#000000',
  },
}
SCSS
$custom: #c754fc;
$custom-light: #dc8cfe;
$custom-dark: #000000;
JSON
{
  "hex": "#c754fc",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 252
  },
  "hsl": {
    "h": 281.071,
    "s": 96.552,
    "l": 65.882
  },
  "oklch": {
    "l": 0.66511,
    "c": 0.24731,
    "h": 313.1
  },
  "luminance": 0.25511
}

Semantic roles & 50–950 ramp

primary
#C754FC
secondary
#CCF2BA
accent
#E60048
background
#FEF9FF
surface
#FCF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #C754FC

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

Preview Lab → · Contrast checker → · Palette generator →

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