#752FBA#752FBA

#752FBA is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.204 H 302.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#752FBA
RGBrgb(117, 47, 186)
HSLhsl(270, 60%, 46%)
HSVhsv(270, 75%, 73%)
CMYKcmyk(37.1%, 74.7%, 0%, 27.1%)
CIE-LABlab(36.67, 55.87, -60.71)
CIE-LCHlch(36.67, 82.51, 312.62°)
OKLaboklab(47.92% 0.1081 -0.1732)
OKLCHoklch(47.92% 0.204 302)
XYZxyz(17.2134, 9.3600, 47.3447)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FBA #74BA2F
analogous
#2F2FBA #752FBA #BA2FB9
triadic
#752FBA #BA752F #2FBA75
tetradic
#752FBA #BA2F2F #74BA2F #2FB9BA
square
#752FBA #BA2F2F #74BA2F #2FB9BA
split-complementary
#752FBA #B9BA2F #2FBA2F
monochromatic
#381658 #562389 #752FBA #9453D3 #B284E0

Accessibility & contrast

On white

7.31
#752FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#752FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FBA
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FBA#FFFFFF#000000##FFFFFF
##752FBA1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0056B7
Tritanopia (blue-blind)
#665272
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #752fba;
/* rgb */ color: rgb(117, 47, 186);
/* oklch */ color: oklch(47.9% 0.204 302.0);
Tailwind
colors: {
  custom: {
    50: '#a36fd0',
    500: '#752fba',
    950: '#000000',
  },
}
SCSS
$custom: #752fba;
$custom-light: #a36fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#752fba",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 270.216,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47917,
    "c": 0.20415,
    "h": 302
  },
  "luminance": 0.0936
}

Semantic roles & 50–950 ramp

primary
#752FBA
secondary
#A2C97C
accent
#E34593
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #752FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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