#C754F2#C754F2

#C754F2 is a light, highly saturated purple. Relative luminance 0.249; OKLCH L 65.9% C 0.238 H 315.5°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#C754F2
RGBrgb(199, 84, 242)
HSLhsl(284, 86%, 64%)
HSVhsv(284, 65%, 95%)
CMYKcmyk(17.8%, 65.3%, 0%, 5.1%)
CIE-LABlab(56.97, 68.55, -59.45)
CIE-LCHlch(56.97, 90.73, 319.07°)
OKLaboklab(65.89% 0.1697 -0.167)
OKLCHoklch(65.89% 0.238 315.5)
XYZxyz(42.7480, 24.8951, 86.5406)
Luminance0.2489 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C754F2 #7FF254
analogous
#7854F2 #C754F2 #F254CE
triadic
#C754F2 #F2C754 #54F2C7
tetradic
#C754F2 #F27854 #7FF254 #54CEF2
square
#C754F2 #F27854 #7FF254 #54CEF2
split-complementary
#C754F2 #CEF254 #54F278
monochromatic
#8E0EBD #B41BEE #C754F2 #DA8DF6 #ECC6FB

Accessibility & contrast

On white

3.51
#C754F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#C754F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C754F2
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C754F2#FFFFFF#000000##000000
##C754F21.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F7
Deuteranopia (green-blind)
#528CEE
Tritanopia (blue-blind)
#C4729C
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #c754f2;
/* rgb */ color: rgb(199, 84, 242);
/* oklch */ color: oklch(65.9% 0.238 315.5);
Tailwind
colors: {
  custom: {
    50: '#dc8cf7',
    500: '#c754f2',
    950: '#000000',
  },
}
SCSS
$custom: #c754f2;
$custom-light: #dc8cf7;
$custom-dark: #000000;
JSON
{
  "hex": "#c754f2",
  "rgb": {
    "r": 199,
    "g": 84,
    "b": 242
  },
  "hsl": {
    "h": 283.671,
    "s": 85.87,
    "l": 63.922
  },
  "oklch": {
    "l": 0.6589,
    "c": 0.23808,
    "h": 315.5
  },
  "luminance": 0.24894
}

Semantic roles & 50–950 ramp

primary
#C754F2
secondary
#C4EDB5
accent
#E20340
background
#FDF8FF
surface
#FBF0FF
border
#D4CBD7
text
#150D17
muted
#837D85

Preview Lab

Preview with #C754F2

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

Preview Lab → · Contrast checker → · Palette generator →

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