#752FBD#752FBD

#752FBD is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.2% C 0.207 H 301.2°. Best body text is #FFFFFF at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#752FBD
RGBrgb(117, 47, 189)
HSLhsl(270, 60%, 46%)
HSVhsv(270, 75%, 74%)
CMYKcmyk(38.1%, 75.1%, 0%, 25.9%)
CIE-LABlab(36.91, 56.59, -62.09)
CIE-LCHlch(36.91, 84.00, 312.35°)
OKLaboklab(48.16% 0.1074 -0.1772)
OKLCHoklch(48.16% 0.207 301.2)
XYZxyz(17.5357, 9.4889, 49.0419)
Luminance0.0949 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752FBD #77BD2F
analogous
#2F30BD #752FBD #BC2FBD
triadic
#752FBD #BD752F #2FBD75
tetradic
#752FBD #BD2F30 #77BD2F #2FBDBC
square
#752FBD #BD2F30 #77BD2F #2FBDBC
split-complementary
#752FBD #BDBC2F #30BD2F
monochromatic
#38175B #57238C #752FBD #9455D5 #B386E1

Accessibility & contrast

On white

7.25
#752FBD on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#752FBD on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752FBD
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752FBD#FFFFFF#000000##FFFFFF
##752FBD1.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C1
Deuteranopia (green-blind)
#0056BA
Tritanopia (blue-blind)
#655474
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #752fbd;
/* rgb */ color: rgb(117, 47, 189);
/* oklch */ color: oklch(48.2% 0.207 301.2);
Tailwind
colors: {
  custom: {
    50: '#a36fd2',
    500: '#752fbd',
    950: '#000000',
  },
}
SCSS
$custom: #752fbd;
$custom-light: #a36fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#752fbd",
  "rgb": {
    "r": 117,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 269.577,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48162,
    "c": 0.20724,
    "h": 301.2
  },
  "luminance": 0.09489
}

Semantic roles & 50–950 ramp

primary
#752FBD
secondary
#A4CA7E
accent
#E34495
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #752FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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