#754196#754196

#754196 is a mid, vivid violet. Relative luminance 0.098; OKLCH L 47.7% C 0.140 H 310.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#754196
RGBrgb(117, 65, 150)
HSLhsl(277, 40%, 42%)
HSVhsv(277, 57%, 59%)
CMYKcmyk(22%, 56.7%, 0%, 41.2%)
CIE-LABlab(37.42, 38.33, -37.98)
CIE-LCHlch(37.42, 53.96, 315.26°)
OKLaboklab(47.67% 0.0907 -0.1066)
OKLCHoklch(47.67% 0.14 310.4)
XYZxyz(14.7304, 9.7648, 29.9571)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754196 #629641
analogous
#4B4196 #754196 #96418D
triadic
#754196 #967541 #419675
tetradic
#754196 #964B41 #629641 #418D96
square
#754196 #964B41 #629641 #418D96
split-complementary
#754196 #8D9641 #41964B
monochromatic
#321C41 #542E6B #754196 #945CB8 #B087CB

Accessibility & contrast

On white

7.11
#754196 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#754196 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #754196
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754196#FFFFFF#000000##FFFFFF
##7541961.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275699
Deuteranopia (green-blind)
#395994
Tritanopia (blue-blind)
#715065
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #754196;
/* rgb */ color: rgb(117, 65, 150);
/* oklch */ color: oklch(47.7% 0.140 310.4);
Tailwind
colors: {
  custom: {
    50: '#9f78b5',
    500: '#754196',
    950: '#000000',
  },
}
SCSS
$custom: #754196;
$custom-light: #9f78b5;
$custom-dark: #000000;
JSON
{
  "hex": "#754196",
  "rgb": {
    "r": 117,
    "g": 65,
    "b": 150
  },
  "hsl": {
    "h": 276.706,
    "s": 39.535,
    "l": 42.157
  },
  "oklch": {
    "l": 0.47667,
    "c": 0.13991,
    "h": 310.4
  },
  "luminance": 0.09765
}

Semantic roles & 50–950 ramp

primary
#754196
secondary
#93B67D
accent
#CF5887
background
#FAF7FB
surface
#F3EDF6
border
#CDC8D0
text
#0F0911
muted
#7F7B80

Preview Lab

Preview with #754196

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

Preview Lab → · Contrast checker → · Palette generator →

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