#754FA8#754FA8

#754FA8 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.0% C 0.139 H 301.3°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#754FA8
RGBrgb(117, 79, 168)
HSLhsl(266, 36%, 48%)
HSVhsv(266, 53%, 66%)
CMYKcmyk(30.4%, 53%, 0%, 34.1%)
CIE-LABlab(41.53, 34.81, -42.21)
CIE-LCHlch(41.53, 54.72, 309.51°)
OKLaboklab(51.05% 0.0725 -0.119)
OKLCHoklch(51.05% 0.139 301.3)
XYZxyz(17.1984, 12.2010, 38.4872)
Luminance0.1220 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FA8 #82A84F
analogous
#4F55A8 #754FA8 #A14FA8
triadic
#754FA8 #A8754F #4FA875
tetradic
#754FA8 #A84F55 #82A84F #4FA8A1
square
#754FA8 #A84F55 #82A84F #4FA8A1
split-complementary
#754FA8 #A8A14F #55A84F
monochromatic
#3B2855 #583B7E #754FA8 #9576BE #B59FD2

Accessibility & contrast

On white

6.10
#754FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#754FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FA8
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FA8#FFFFFF#000000##FFFFFF
##754FA81.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3061AB
Deuteranopia (green-blind)
#3B62A6
Tritanopia (blue-blind)
#6B6074
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #754fa8;
/* rgb */ color: rgb(117, 79, 168);
/* oklch */ color: oklch(51.0% 0.139 301.3);
Tailwind
colors: {
  custom: {
    50: '#9f81c2',
    500: '#754fa8',
    950: '#000000',
  },
}
SCSS
$custom: #754fa8;
$custom-light: #9f81c2;
$custom-dark: #000000;
JSON
{
  "hex": "#754fa8",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 168
  },
  "hsl": {
    "h": 265.618,
    "s": 36.032,
    "l": 48.431
  },
  "oklch": {
    "l": 0.51046,
    "c": 0.13931,
    "h": 301.3
  },
  "luminance": 0.12201
}

Semantic roles & 50–950 ramp

primary
#754FA8
secondary
#ADBF94
accent
#CC5C9C
background
#FAF8FC
surface
#F3EFF8
border
#CDCAD1
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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