#754792#754792

#754792 is a mid, vivid violet. Relative luminance 0.104; OKLCH L 48.4% C 0.125 H 310.9°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#754792
RGBrgb(117, 71, 146)
HSLhsl(277, 35%, 43%)
HSVhsv(277, 51%, 57%)
CMYKcmyk(19.9%, 51.4%, 0%, 42.7%)
CIE-LABlab(38.49, 33.99, -33.86)
CIE-LCHlch(38.49, 47.98, 315.11°)
OKLaboklab(48.38% 0.0818 -0.0946)
OKLCHoklch(48.38% 0.125 310.9)
XYZxyz(14.7767, 10.3640, 28.4106)
Luminance0.1036 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754792 #649247
analogous
#504792 #754792 #924789
triadic
#754792 #927547 #479275
tetradic
#754792 #925047 #649247 #478992
square
#754792 #925047 #649247 #478992
split-complementary
#754792 #899247 #479250
monochromatic
#331F40 #543369 #754792 #9463B3 #B08CC7

Accessibility & contrast

On white

6.83
#754792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#754792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754792
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754792#FFFFFF#000000##FFFFFF
##7547921.006.833.076.83
#FFFFFF6.831.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345895
Deuteranopia (green-blind)
#425C90
Tritanopia (blue-blind)
#725366
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #754792;
/* rgb */ color: rgb(117, 71, 146);
/* oklch */ color: oklch(48.4% 0.125 310.9);
Tailwind
colors: {
  custom: {
    50: '#9f7cb2',
    500: '#754792',
    950: '#000000',
  },
}
SCSS
$custom: #754792;
$custom-light: #9f7cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#754792",
  "rgb": {
    "r": 117,
    "g": 71,
    "b": 146
  },
  "hsl": {
    "h": 276.8,
    "s": 34.562,
    "l": 42.549
  },
  "oklch": {
    "l": 0.48384,
    "c": 0.12502,
    "h": 310.9
  },
  "luminance": 0.10364
}

Semantic roles & 50–950 ramp

primary
#754792
secondary
#95B382
accent
#CB5D87
background
#F9F7FB
surface
#F2EEF6
border
#CCC9D0
text
#0F0911
muted
#7E7B80

Preview Lab

Preview with #754792

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

Preview Lab → · Contrast checker → · Palette generator →

#754792 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva