#754FB3#754FB3

#754FB3 is a mid, vivid violet. Relative luminance 0.126; OKLCH L 51.8% C 0.153 H 298.4°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#754FB3
RGBrgb(117, 79, 179)
HSLhsl(263, 40%, 51%)
HSVhsv(263, 56%, 70%)
CMYKcmyk(34.6%, 55.9%, 0%, 29.8%)
CIE-LABlab(42.20, 37.69, -47.65)
CIE-LCHlch(42.20, 60.76, 308.34°)
OKLaboklab(51.75% 0.073 -0.1349)
OKLCHoklch(51.75% 0.153 298.4)
XYZxyz(18.2668, 12.6283, 44.1142)
Luminance0.1263 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FB3 #8DB34F
analogous
#4F5BB3 #754FB3 #A74FB3
triadic
#754FB3 #B3754F #4FB375
tetradic
#754FB3 #B34F5B #8DB34F #4FB3A7
square
#754FB3 #B34F5B #8DB34F #4FB3A7
split-complementary
#754FB3 #B3A74F #5BB34F
monochromatic
#3D295F #593B89 #754FB3 #977AC5 #B8A4D8

Accessibility & contrast

On white

5.96
#754FB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#754FB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FB3
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FB3#FFFFFF#000000##FFFFFF
##754FB31.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2364B6
Deuteranopia (green-blind)
#3063B1
Tritanopia (blue-blind)
#676379
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #754fb3;
/* rgb */ color: rgb(117, 79, 179);
/* oklch */ color: oklch(51.8% 0.153 298.4);
Tailwind
colors: {
  custom: {
    50: '#a082ca',
    500: '#754fb3',
    950: '#000000',
  },
}
SCSS
$custom: #754fb3;
$custom-light: #a082ca;
$custom-dark: #000000;
JSON
{
  "hex": "#754fb3",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 179
  },
  "hsl": {
    "h": 262.8,
    "s": 39.683,
    "l": 50.588
  },
  "oklch": {
    "l": 0.51751,
    "c": 0.15339,
    "h": 298.4
  },
  "luminance": 0.12629
}

Semantic roles & 50–950 ramp

primary
#754FB3
secondary
#B4C599
accent
#D058A2
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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