#754EA2#754EA2

#754EA2 is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.5% C 0.133 H 303.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#754EA2
RGBrgb(117, 78, 162)
HSLhsl(268, 35%, 47%)
HSVhsv(268, 52%, 64%)
CMYKcmyk(27.8%, 51.9%, 0%, 36.5%)
CIE-LABlab(40.96, 33.86, -39.56)
CIE-LCHlch(40.96, 52.07, 310.56°)
OKLaboklab(50.51% 0.0734 -0.1112)
OKLCHoklch(50.51% 0.133 303.4)
XYZxyz(16.5807, 11.8394, 35.5871)
Luminance0.1184 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EA2 #7BA24E
analogous
#4E51A2 #754EA2 #9F4EA2
triadic
#754EA2 #A2754E #4EA275
tetradic
#754EA2 #A24E51 #7BA24E #4EA29F
square
#754EA2 #A24E51 #7BA24E #4EA29F
split-complementary
#754EA2 #A29F4E #51A24E
monochromatic
#39264F #573A79 #754EA2 #9472BB #B39BCF

Accessibility & contrast

On white

6.24
#754EA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#754EA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EA2
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EA2#FFFFFF#000000##FFFFFF
##754EA21.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3360A5
Deuteranopia (green-blind)
#3E60A0
Tritanopia (blue-blind)
#6D5D70
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754ea2;
/* rgb */ color: rgb(117, 78, 162);
/* oklch */ color: oklch(50.5% 0.133 303.4);
Tailwind
colors: {
  custom: {
    50: '#9f81be',
    500: '#754ea2',
    950: '#000000',
  },
}
SCSS
$custom: #754ea2;
$custom-light: #9f81be;
$custom-dark: #000000;
JSON
{
  "hex": "#754ea2",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 162
  },
  "hsl": {
    "h": 267.857,
    "s": 35,
    "l": 47.059
  },
  "oklch": {
    "l": 0.50508,
    "c": 0.13323,
    "h": 303.4
  },
  "luminance": 0.11839
}

Semantic roles & 50–950 ramp

primary
#754EA2
secondary
#A7BC90
accent
#CB5D98
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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