#754DC5#754DC5

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

Color values

HEX#754DC5
RGBrgb(117, 77, 197)
HSLhsl(260, 51%, 54%)
HSVhsv(260, 61%, 77%)
CMYKcmyk(40.6%, 60.9%, 0%, 22.7%)
CIE-LABlab(42.94, 43.65, -56.96)
CIE-LCHlch(42.94, 71.76, 307.46°)
OKLaboklab(52.67% 0.0752 -0.1623)
OKLCHoklch(52.67% 0.179 294.9)
XYZxyz(20.0654, 13.1204, 54.2878)
Luminance0.1312 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DC5 #9DC54D
analogous
#4D61C5 #754DC5 #B14DC5
triadic
#754DC5 #C5754D #4DC575
tetradic
#754DC5 #C54D61 #9DC54D #4DC5B1
square
#754DC5 #C54D61 #9DC54D #4DC5B1
split-complementary
#754DC5 #C5B14D #61C54D
monochromatic
#3F2572 #5834A0 #754DC5 #997BD4 #BDA9E3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##754DC5#FFFFFF#000000##FFFFFF
##754DC51.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)
#0066C9
Deuteranopia (green-blind)
#0664C2
Tritanopia (blue-blind)
#606882
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754dc5;
/* rgb */ color: rgb(117, 77, 197);
/* oklch */ color: oklch(52.7% 0.179 294.9);
Tailwind
colors: {
  custom: {
    50: '#a281d7',
    500: '#754dc5',
    950: '#000000',
  },
}
SCSS
$custom: #754dc5;
$custom-light: #a281d7;
$custom-dark: #000000;
JSON
{
  "hex": "#754dc5",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 197
  },
  "hsl": {
    "h": 260,
    "s": 50.847,
    "l": 53.725
  },
  "oklch": {
    "l": 0.52674,
    "c": 0.17885,
    "h": 294.9
  },
  "luminance": 0.13121
}

Semantic roles & 50–950 ramp

primary
#754DC5
secondary
#BFD19D
accent
#DA4DAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754DC5

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

Preview Lab → · Contrast checker → · Palette generator →

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