#752EAF#752EAF

#752EAF is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.9% C 0.194 H 305.0°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#752EAF
RGBrgb(117, 46, 175)
HSLhsl(273, 58%, 43%)
HSVhsv(273, 74%, 69%)
CMYKcmyk(33.1%, 73.7%, 0%, 31.4%)
CIE-LABlab(35.66, 53.70, -55.84)
CIE-LCHlch(35.66, 77.47, 313.88°)
OKLaboklab(46.94% 0.1113 -0.1588)
OKLCHoklch(46.94% 0.194 305)
XYZxyz(16.0492, 8.8311, 41.4082)
Luminance0.0883 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EAF #68AF2E
analogous
#342EAF #752EAF #AF2EA8
triadic
#752EAF #AF752E #2EAF75
tetradic
#752EAF #AF342E #68AF2E #2EA8AF
square
#752EAF #AF342E #68AF2E #2EA8AF
split-complementary
#752EAF #A8AF2E #2EAF34
monochromatic
#34154E #55217F #752EAF #944BD0 #B17BDC

Accessibility & contrast

On white

7.59
#752EAF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#752EAF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752EAF
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EAF#FFFFFF#000000##FFFFFF
##752EAF1.007.592.777.59
#FFFFFF7.591.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.591.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #752eaf;
/* rgb */ color: rgb(117, 46, 175);
/* oklch */ color: oklch(46.9% 0.194 305.0);
Tailwind
colors: {
  custom: {
    50: '#a26ec8',
    500: '#752eaf',
    950: '#000000',
  },
}
SCSS
$custom: #752eaf;
$custom-light: #a26ec8;
$custom-dark: #000000;
JSON
{
  "hex": "#752eaf",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 273.023,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46935,
    "c": 0.19398,
    "h": 305
  },
  "luminance": 0.08831
}

Semantic roles & 50–950 ramp

primary
#752EAF
secondary
#98C574
accent
#E2468C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100713
muted
#7F7A82

Preview Lab

Preview with #752EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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