#754DB6#754DB6

#754DB6 is a mid, vivid violet. Relative luminance 0.125; OKLCH L 51.6% C 0.160 H 298.2°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#754DB6
RGBrgb(117, 77, 182)
HSLhsl(263, 42%, 51%)
HSVhsv(263, 58%, 71%)
CMYKcmyk(35.7%, 57.7%, 0%, 28.6%)
CIE-LABlab(41.95, 39.63, -49.81)
CIE-LCHlch(41.95, 63.65, 308.50°)
OKLaboklab(51.63% 0.0756 -0.1413)
OKLCHoklch(51.63% 0.16 298.2)
XYZxyz(18.4314, 12.4668, 45.6822)
Luminance0.1247 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754DB6 #8EB64D
analogous
#4D59B6 #754DB6 #A94DB6
triadic
#754DB6 #B6754D #4DB675
tetradic
#754DB6 #B64D59 #8EB64D #4DB6A9
square
#754DB6 #B64D59 #8EB64D #4DB6A9
split-complementary
#754DB6 #B6A94D #59B64D
monochromatic
#3D2861 #593A8C #754DB6 #9778C8 #B8A4DA

Accessibility & contrast

On white

6.01
#754DB6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #754DB6
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754DB6#FFFFFF#000000##FFFFFF
##754DB61.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1863B9
Deuteranopia (green-blind)
#2962B4
Tritanopia (blue-blind)
#66637A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #754db6;
/* rgb */ color: rgb(117, 77, 182);
/* oklch */ color: oklch(51.6% 0.160 298.2);
Tailwind
colors: {
  custom: {
    50: '#a180cc',
    500: '#754db6',
    950: '#000000',
  },
}
SCSS
$custom: #754db6;
$custom-light: #a180cc;
$custom-dark: #000000;
JSON
{
  "hex": "#754db6",
  "rgb": {
    "r": 117,
    "g": 77,
    "b": 182
  },
  "hsl": {
    "h": 262.857,
    "s": 41.833,
    "l": 50.784
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.16021,
    "h": 298.2
  },
  "luminance": 0.12467
}

Semantic roles & 50–950 ramp

primary
#754DB6
secondary
#B5C798
accent
#D256A3
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A13
muted
#7F7C82

Preview Lab

Preview with #754DB6

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

Preview Lab → · Contrast checker → · Palette generator →

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