#752FAF#752FAF

#752FAF is a mid, vivid violet. Relative luminance 0.089; OKLCH L 47.0% C 0.193 H 304.9°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#752FAF
RGBrgb(117, 47, 175)
HSLhsl(273, 58%, 44%)
HSVhsv(273, 73%, 69%)
CMYKcmyk(33.1%, 73.1%, 0%, 31.4%)
CIE-LABlab(35.81, 53.26, -55.59)
CIE-LCHlch(35.81, 76.99, 313.78°)
OKLaboklab(47.04% 0.1104 -0.1581)
OKLCHoklch(47.04% 0.193 304.9)
XYZxyz(16.0888, 8.9102, 41.4214)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FAF #69AF2F
analogous
#352FAF #752FAF #AF2FA9
triadic
#752FAF #AF752F #2FAF75
tetradic
#752FAF #AF352F #69AF2F #2FA9AF
square
#752FAF #AF352F #69AF2F #2FA9AF
split-complementary
#752FAF #A9AF2F #2FAF35
monochromatic
#34154F #55227F #752FAF #944CCF #B17CDC

Accessibility & contrast

On white

7.55
#752FAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#752FAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FAF
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FAF#FFFFFF#000000##FFFFFF
##752FAF1.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B3
Deuteranopia (green-blind)
#0054AC
Tritanopia (blue-blind)
#6A4E6C
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752faf;
/* rgb */ color: rgb(117, 47, 175);
/* oklch */ color: oklch(47.0% 0.193 304.9);
Tailwind
colors: {
  custom: {
    50: '#a26ec8',
    500: '#752faf',
    950: '#000000',
  },
}
SCSS
$custom: #752faf;
$custom-light: #a26ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#752faf",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 175
  },
  "hsl": {
    "h": 272.813,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.47044,
    "c": 0.19282,
    "h": 304.9
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#752FAF
secondary
#99C475
accent
#E1478D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #752FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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