#754BC4#754BC4

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

Color values

HEX#754BC4
RGBrgb(117, 75, 196)
HSLhsl(261, 51%, 53%)
HSVhsv(261, 62%, 77%)
CMYKcmyk(40.3%, 61.7%, 0%, 23.1%)
CIE-LABlab(42.46, 44.49, -57.17)
CIE-LCHlch(42.46, 72.44, 307.89°)
OKLaboklab(52.3% 0.0776 -0.1629)
OKLCHoklch(52.3% 0.18 295.5)
XYZxyz(19.8134, 12.7992, 53.6404)
Luminance0.1280 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BC4 #9AC44B
analogous
#4B5DC4 #754BC4 #B14BC4
triadic
#754BC4 #C4754B #4BC475
tetradic
#754BC4 #C44B5D #9AC44B #4BC4B1
square
#754BC4 #C44B5D #9AC44B #4BC4B1
split-complementary
#754BC4 #C4B14B #5DC44B
monochromatic
#3F2570 #59349E #754BC4 #9879D3 #BCA7E2

Accessibility & contrast

On white

5.90
#754BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#754BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BC4
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BC4#FFFFFF#000000##FFFFFF
##754BC41.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065C8
Deuteranopia (green-blind)
#0062C1
Tritanopia (blue-blind)
#616680
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754bc4;
/* rgb */ color: rgb(117, 75, 196);
/* oklch */ color: oklch(52.3% 0.180 295.5);
Tailwind
colors: {
  custom: {
    50: '#a27fd7',
    500: '#754bc4',
    950: '#000000',
  },
}
SCSS
$custom: #754bc4;
$custom-light: #a27fd7;
$custom-dark: #000000;
JSON
{
  "hex": "#754bc4",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 196
  },
  "hsl": {
    "h": 260.826,
    "s": 50.628,
    "l": 53.137
  },
  "oklch": {
    "l": 0.52299,
    "c": 0.18039,
    "h": 295.5
  },
  "luminance": 0.128
}

Semantic roles & 50–950 ramp

primary
#754BC4
secondary
#BDCF9B
accent
#DA4EA9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#100A14
muted
#7F7C83

Preview Lab

Preview with #754BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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