#754FA2#754FA2

#754FA2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 50.7% C 0.132 H 303.2°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#754FA2
RGBrgb(117, 79, 162)
HSLhsl(267, 34%, 47%)
HSVhsv(267, 51%, 64%)
CMYKcmyk(27.8%, 51.2%, 0%, 36.5%)
CIE-LABlab(41.19, 33.28, -39.20)
CIE-LCHlch(41.19, 51.42, 310.33°)
OKLaboklab(50.68% 0.072 -0.1101)
OKLCHoklch(50.68% 0.132 303.2)
XYZxyz(16.6522, 11.9825, 35.6110)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#754FA2 #7CA24F
analogous
#4F52A2 #754FA2 #9F4FA2
triadic
#754FA2 #A2754F #4FA275
tetradic
#754FA2 #A24F52 #7CA24F #4FA29F
square
#754FA2 #A24F52 #7CA24F #4FA29F
split-complementary
#754FA2 #A29F4F #52A24F
monochromatic
#3A2750 #573B79 #754FA2 #9473BB #B49CCF

Accessibility & contrast

On white

6.18
#754FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#754FA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #754FA2
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##754FA2#FFFFFF#000000##FFFFFF
##754FA21.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3560A5
Deuteranopia (green-blind)
#3F61A0
Tritanopia (blue-blind)
#6D5E71
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #754fa2;
/* rgb */ color: rgb(117, 79, 162);
/* oklch */ color: oklch(50.7% 0.132 303.2);
Tailwind
colors: {
  custom: {
    50: '#9f81be',
    500: '#754fa2',
    950: '#000000',
  },
}
SCSS
$custom: #754fa2;
$custom-light: #9f81be;
$custom-dark: #000000;
JSON
{
  "hex": "#754fa2",
  "rgb": {
    "r": 117,
    "g": 79,
    "b": 162
  },
  "hsl": {
    "h": 267.47,
    "s": 34.44,
    "l": 47.255
  },
  "oklch": {
    "l": 0.50678,
    "c": 0.13158,
    "h": 303.2
  },
  "luminance": 0.11983
}

Semantic roles & 50–950 ramp

primary
#754FA2
secondary
#A8BC91
accent
#CB5D99
background
#FAF7FB
surface
#F3EEF7
border
#CDC9D0
text
#0F0A12
muted
#7F7C81

Preview Lab

Preview with #754FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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