#754EB2#754EB2

#754EB2 is a mid, vivid violet. Relative luminance 0.124; OKLCH L 51.5% C 0.154 H 298.9°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#754EB2
RGBrgb(117, 78, 178)
HSLhsl(263, 39%, 50%)
HSVhsv(263, 56%, 70%)
CMYKcmyk(34.3%, 56.2%, 0%, 30.2%)
CIE-LABlab(41.91, 38.00, -47.52)
CIE-LCHlch(41.91, 60.84, 308.65°)
OKLaboklab(51.52% 0.0743 -0.1345)
OKLCHoklch(51.52% 0.154 298.9)
XYZxyz(18.0944, 12.4449, 43.5596)
Luminance0.1245 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754EB2 #8BB24E
analogous
#4E59B2 #754EB2 #A74EB2
triadic
#754EB2 #B2754E #4EB275
tetradic
#754EB2 #B24E59 #8BB24E #4EB2A7
square
#754EB2 #B24E59 #8BB24E #4EB2A7
split-complementary
#754EB2 #B2A74E #59B24E
monochromatic
#3D295D #593B88 #754EB2 #9679C5 #B8A3D7

Accessibility & contrast

On white

6.02
#754EB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#754EB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754EB2
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754EB2#FFFFFF#000000##FFFFFF
##754EB21.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2263B5
Deuteranopia (green-blind)
#3062B0
Tritanopia (blue-blind)
#686278
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754eb2;
/* rgb */ color: rgb(117, 78, 178);
/* oklch */ color: oklch(51.5% 0.154 298.9);
Tailwind
colors: {
  custom: {
    50: '#a081ca',
    500: '#754eb2',
    950: '#000000',
  },
}
SCSS
$custom: #754eb2;
$custom-light: #a081ca;
$custom-dark: #000000;
JSON
{
  "hex": "#754eb2",
  "rgb": {
    "r": 117,
    "g": 78,
    "b": 178
  },
  "hsl": {
    "h": 263.4,
    "s": 39.37,
    "l": 50.196
  },
  "oklch": {
    "l": 0.51523,
    "c": 0.15365,
    "h": 298.9
  },
  "luminance": 0.12445
}

Semantic roles & 50–950 ramp

primary
#754EB2
secondary
#B3C498
accent
#CF59A1
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754EB2

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

Preview Lab → · Contrast checker → · Palette generator →

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