#752F98#752F98

#752F98 is a mid, vivid purple. Relative luminance 0.081; OKLCH L 45.3% C 0.169 H 312.2°. Best body text is #FFFFFF at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#752F98
RGBrgb(117, 47, 152)
HSLhsl(280, 53%, 39%)
HSVhsv(280, 69%, 60%)
CMYKcmyk(23%, 69.1%, 0%, 40.4%)
CIE-LABlab(34.15, 48.00, -44.42)
CIE-LCHlch(34.15, 65.40, 317.22°)
OKLaboklab(45.34% 0.1136 -0.1253)
OKLCHoklch(45.34% 0.169 312.2)
XYZxyz(14.0191, 8.0823, 30.5212)
Luminance0.0808 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752F98 #52982F
analogous
#412F98 #752F98 #982F87
triadic
#752F98 #98752F #2F9875
tetradic
#752F98 #98412F #52982F #2F8798
square
#752F98 #98412F #52982F #2F8798
split-complementary
#752F98 #87982F #2F9841
monochromatic
#2D123B #512169 #752F98 #9840C4 #B16FD2

Accessibility & contrast

On white

8.03
#752F98 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.62
#752F98 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752F98
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752F98#FFFFFF#000000##FFFFFF
##752F981.008.032.628.03
#FFFFFF8.031.0021.001.00
#0000002.6221.001.0021.00
##FFFFFF8.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004D9B
Deuteranopia (green-blind)
#255296
Tritanopia (blue-blind)
#714560
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #752f98;
/* rgb */ color: rgb(117, 47, 152);
/* oklch */ color: oklch(45.3% 0.169 312.2);
Tailwind
colors: {
  custom: {
    50: '#a06db7',
    500: '#752f98',
    950: '#000000',
  },
}
SCSS
$custom: #752f98;
$custom-light: #a06db7;
$custom-dark: #000000;
JSON
{
  "hex": "#752f98",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 152
  },
  "hsl": {
    "h": 280,
    "s": 52.764,
    "l": 39.02
  },
  "oklch": {
    "l": 0.4534,
    "c": 0.16912,
    "h": 312.2
  },
  "luminance": 0.08082
}

Semantic roles & 50–950 ramp

primary
#752F98
secondary
#84BA69
accent
#DC4C7C
background
#FAF6FB
surface
#F4ECF6
border
#CEC7D0
text
#0F0711
muted
#7F7A80

Preview Lab

Preview with #752F98

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

Preview Lab → · Contrast checker → · Palette generator →

#752F98 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva