#752EB1#752EB1

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

Color values

HEX#752EB1
RGBrgb(117, 46, 177)
HSLhsl(273, 59%, 44%)
HSVhsv(273, 74%, 69%)
CMYKcmyk(33.9%, 74%, 0%, 30.6%)
CIE-LABlab(35.81, 54.17, -56.78)
CIE-LCHlch(35.81, 78.47, 313.65°)
OKLaboklab(47.09% 0.1109 -0.1616)
OKLCHoklch(47.09% 0.196 304.5)
XYZxyz(16.2471, 8.9103, 42.4504)
Luminance0.0891 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EB1 #6AB12E
analogous
#332EB1 #752EB1 #B12EAB
triadic
#752EB1 #B1752E #2EB175
tetradic
#752EB1 #B1332E #6AB12E #2EABB1
square
#752EB1 #B1332E #6AB12E #2EABB1
split-complementary
#752EB1 #ABB12E #2EB133
monochromatic
#351550 #552180 #752EB1 #944CD0 #B17CDD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##752EB1#FFFFFF#000000##FFFFFF
##752EB11.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)
#0053B5
Deuteranopia (green-blind)
#0054AE
Tritanopia (blue-blind)
#694E6D
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #752eb1;
/* rgb */ color: rgb(117, 46, 177);
/* oklch */ color: oklch(47.1% 0.196 304.5);
Tailwind
colors: {
  custom: {
    50: '#a26ec9',
    500: '#752eb1',
    950: '#000000',
  },
}
SCSS
$custom: #752eb1;
$custom-light: #a26ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#752eb1",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 177
  },
  "hsl": {
    "h": 272.519,
    "s": 58.744,
    "l": 43.725
  },
  "oklch": {
    "l": 0.47092,
    "c": 0.19603,
    "h": 304.5
  },
  "luminance": 0.0891
}

Semantic roles & 50–950 ramp

primary
#752EB1
secondary
#9AC675
accent
#E2468D
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82

Preview Lab

Preview with #752EB1

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

Preview Lab → · Contrast checker → · Palette generator →

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