#754CC8#754CC8

#754CC8 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.7% C 0.184 H 294.5°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#754CC8
RGBrgb(117, 76, 200)
HSLhsl(260, 53%, 54%)
HSVhsv(260, 62%, 78%)
CMYKcmyk(41.5%, 62%, 0%, 21.6%)
CIE-LABlab(42.94, 45.02, -58.70)
CIE-LCHlch(42.94, 73.98, 307.48°)
OKLaboklab(52.74% 0.0762 -0.1674)
OKLCHoklch(52.74% 0.184 294.5)
XYZxyz(20.3431, 13.1204, 56.0931)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754CC8 #9FC84C
analogous
#4C61C8 #754CC8 #B34CC8
triadic
#754CC8 #C8754C #4CC875
tetradic
#754CC8 #C84C61 #9FC84C #4CC8B3
square
#754CC8 #C84C61 #9FC84C #4CC8B3
split-complementary
#754CC8 #C8B34C #61C84C
monochromatic
#3F2475 #5832A4 #754CC8 #997BD6 #BDAAE5

Accessibility & contrast

On white

5.79
#754CC8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#754CC8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754CC8
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754CC8#FFFFFF#000000##FFFFFF
##754CC81.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CC
Deuteranopia (green-blind)
#0063C5
Tritanopia (blue-blind)
#5F6883
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754cc8;
/* rgb */ color: rgb(117, 76, 200);
/* oklch */ color: oklch(52.7% 0.184 294.5);
Tailwind
colors: {
  custom: {
    50: '#a280d9',
    500: '#754cc8',
    950: '#000000',
  },
}
SCSS
$custom: #754cc8;
$custom-light: #a280d9;
$custom-dark: #000000;
JSON
{
  "hex": "#754cc8",
  "rgb": {
    "r": 117,
    "g": 76,
    "b": 200
  },
  "hsl": {
    "h": 259.839,
    "s": 52.991,
    "l": 54.118
  },
  "oklch": {
    "l": 0.5274,
    "c": 0.18391,
    "h": 294.5
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

primary
#754CC8
secondary
#C1D29E
accent
#DC4BAC
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83

Preview Lab

Preview with #754CC8

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

Preview Lab → · Contrast checker → · Palette generator →

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