#754BB2#754BB2

#754BB2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.0% C 0.158 H 299.6°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#754BB2
RGBrgb(117, 75, 178)
HSLhsl(264, 41%, 50%)
HSVhsv(264, 58%, 70%)
CMYKcmyk(34.3%, 57.9%, 0%, 30.2%)
CIE-LABlab(41.26, 39.71, -48.56)
CIE-LCHlch(41.26, 62.73, 309.27°)
OKLaboklab(51.04% 0.0781 -0.1376)
OKLCHoklch(51.04% 0.158 299.6)
XYZxyz(17.8861, 12.0283, 43.4902)
Luminance0.1203 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754BB2 #88B24B
analogous
#4B55B2 #754BB2 #A94BB2
triadic
#754BB2 #B2754B #4BB275
tetradic
#754BB2 #B24B55 #88B24B #4BB2A9
square
#754BB2 #B24B55 #88B24B #4BB2A9
split-complementary
#754BB2 #B2A94B #55B24B
monochromatic
#3C275C #593987 #754BB2 #9675C5 #B7A0D7

Accessibility & contrast

On white

6.17
#754BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#754BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754BB2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754BB2#FFFFFF#000000##FFFFFF
##754BB21.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#2B60B0
Tritanopia (blue-blind)
#686077
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754bb2;
/* rgb */ color: rgb(117, 75, 178);
/* oklch */ color: oklch(51.0% 0.158 299.6);
Tailwind
colors: {
  custom: {
    50: '#a07fca',
    500: '#754bb2',
    950: '#000000',
  },
}
SCSS
$custom: #754bb2;
$custom-light: #a07fca;
$custom-dark: #000000;
JSON
{
  "hex": "#754bb2",
  "rgb": {
    "r": 117,
    "g": 75,
    "b": 178
  },
  "hsl": {
    "h": 264.466,
    "s": 40.711,
    "l": 49.608
  },
  "oklch": {
    "l": 0.51042,
    "c": 0.15822,
    "h": 299.6
  },
  "luminance": 0.12028
}

Semantic roles & 50–950 ramp

primary
#754BB2
secondary
#B1C495
accent
#D1579F
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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