#754DC4#754DC4

#754DC4 is a mid, vivid violet. Relative luminance 0.131; OKLCH L 52.6% C 0.178 H 295.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#754DC4
RGBrgb(117, 77, 196)
HSLhsl(260, 50%, 54%)
HSVhsv(260, 61%, 77%)
CMYKcmyk(40.3%, 60.7%, 0%, 23.1%)
CIE-LABlab(42.88, 43.38, -56.49)
CIE-LCHlch(42.88, 71.23, 307.52°)
OKLaboklab(52.6% 0.0753 -0.1609)
OKLCHoklch(52.6% 0.178 295.1)
XYZxyz(19.9512, 13.0747, 53.6864)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DC4 #9CC44D
analogous
#4D60C4 #754DC4 #B04DC4
triadic
#754DC4 #C4754D #4DC475
tetradic
#754DC4 #C44D60 #9CC44D #4DC4B0
square
#754DC4 #C44D60 #9CC44D #4DC4B0
split-complementary
#754DC4 #C4B04D #60C44D
monochromatic
#3F2571 #58359F #754DC4 #997BD3 #BCA9E2

Accessibility & contrast

On white

5.81
#754DC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754DC4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DC4#FFFFFF#000000##FFFFFF
##754DC41.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066C8
Deuteranopia (green-blind)
#0B63C1
Tritanopia (blue-blind)
#616781
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #754dc4;
/* rgb */ color: rgb(117, 77, 196);
/* oklch */ color: oklch(52.6% 0.178 295.1);
Tailwind
colors: {
  custom: {
    50: '#a281d7',
    500: '#754dc4',
    950: '#000000',
  },
}
SCSS
$custom: #754dc4;
$custom-light: #a281d7;
$custom-dark: #000000;
JSON
{
  "hex": "#754dc4",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 196
  },
  "hsl": {
    "h": 260.168,
    "s": 50.211,
    "l": 53.529
  },
  "oklch": {
    "l": 0.52603,
    "c": 0.17762,
    "h": 295.1
  },
  "luminance": 0.13075
}

Semantic roles & 50–950 ramp

primary
#754DC4
secondary
#BFD09D
accent
#DA4EAB
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #754DC4

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

Preview Lab → · Contrast checker → · Palette generator →

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