#754BA2#754BA2

#754BA2 is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.0% C 0.138 H 304.1°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#754BA2
RGBrgb(117, 75, 162)
HSLhsl(269, 37%, 46%)
HSVhsv(269, 54%, 64%)
CMYKcmyk(27.8%, 53.7%, 0%, 36.5%)
CIE-LABlab(40.28, 35.60, -40.64)
CIE-LCHlch(40.28, 54.02, 311.22°)
OKLaboklab(50.01% 0.0775 -0.1143)
OKLCHoklch(50.01% 0.138 304.1)
XYZxyz(16.3724, 11.4228, 35.5177)
Luminance0.1142 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BA2 #78A24B
analogous
#4B4CA2 #754BA2 #A14BA2
triadic
#754BA2 #A2754B #4BA275
tetradic
#754BA2 #A24B4C #78A24B #4BA2A1
square
#754BA2 #A24B4C #78A24B #4BA2A1
split-complementary
#754BA2 #A2A14B #4CA24B
monochromatic
#39244E #573878 #754BA2 #946EBC #B398CF

Accessibility & contrast

On white

6.39
#754BA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#754BA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BA2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BA2#FFFFFF#000000##FFFFFF
##754BA21.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5EA5
Deuteranopia (green-blind)
#3B5FA0
Tritanopia (blue-blind)
#6D5B6F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #754ba2;
/* rgb */ color: rgb(117, 75, 162);
/* oklch */ color: oklch(50.0% 0.138 304.1);
Tailwind
colors: {
  custom: {
    50: '#9f7fbe',
    500: '#754ba2',
    950: '#000000',
  },
}
SCSS
$custom: #754ba2;
$custom-light: #9f7fbe;
$custom-dark: #000000;
JSON
{
  "hex": "#754ba2",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 162
  },
  "hsl": {
    "h": 268.966,
    "s": 36.709,
    "l": 46.471
  },
  "oklch": {
    "l": 0.50007,
    "c": 0.13816,
    "h": 304.1
  },
  "luminance": 0.11423
}

Semantic roles & 50–950 ramp

primary
#754BA2
secondary
#A5BC8D
accent
#CD5B96
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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