#754CC2#754CC2

#754CC2 is a mid, vivid violet. Relative luminance 0.128; OKLCH L 52.3% C 0.177 H 295.7°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#754CC2
RGBrgb(117, 76, 194)
HSLhsl(261, 49%, 53%)
HSVhsv(261, 61%, 76%)
CMYKcmyk(39.7%, 60.8%, 0%, 23.9%)
CIE-LABlab(42.53, 43.40, -55.89)
CIE-LCHlch(42.53, 70.76, 307.83°)
OKLaboklab(52.31% 0.0765 -0.1591)
OKLCHoklch(52.31% 0.177 295.7)
XYZxyz(19.6556, 12.8454, 52.4723)
Luminance0.1285 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CC2 #99C24C
analogous
#4C5EC2 #754CC2 #B04CC2
triadic
#754CC2 #C2754C #4CC275
tetradic
#754CC2 #C24C5E #99C24C #4CC2B0
square
#754CC2 #C24C5E #99C24C #4CC2B0
split-complementary
#754CC2 #C2B04C #5EC24C
monochromatic
#3F266E #59359C #754CC2 #987AD2 #BBA7E1

Accessibility & contrast

On white

5.88
#754CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#754CC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CC2
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CC2#FFFFFF#000000##FFFFFF
##754CC21.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C6
Deuteranopia (green-blind)
#0E63BF
Tritanopia (blue-blind)
#626680
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754cc2;
/* rgb */ color: rgb(117, 76, 194);
/* oklch */ color: oklch(52.3% 0.177 295.7);
Tailwind
colors: {
  custom: {
    50: '#a280d5',
    500: '#754cc2',
    950: '#000000',
  },
}
SCSS
$custom: #754cc2;
$custom-light: #a280d5;
$custom-dark: #000000;
JSON
{
  "hex": "#754cc2",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 194
  },
  "hsl": {
    "h": 260.847,
    "s": 49.167,
    "l": 52.941
  },
  "oklch": {
    "l": 0.52307,
    "c": 0.17656,
    "h": 295.7
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#754CC2
secondary
#BDCE9B
accent
#D94FA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754CC2

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

Preview Lab → · Contrast checker → · Palette generator →

#754CC2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva