#752BCA#752BCA

#752BCA is a mid, highly saturated violet. Relative luminance 0.098; OKLCH L 48.9% C 0.224 H 298.6°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#752BCA
RGBrgb(117, 43, 202)
HSLhsl(268, 65%, 48%)
HSVhsv(268, 79%, 79%)
CMYKcmyk(42.1%, 78.7%, 0%, 20.8%)
CIE-LABlab(37.43, 61.31, -68.84)
CIE-LCHlch(37.43, 92.18, 311.69°)
OKLaboklab(48.86% 0.1073 -0.197)
OKLCHoklch(48.86% 0.224 298.6)
XYZxyz(18.8579, 9.7736, 56.7586)
Luminance0.0977 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752BCA #80CA2B
analogous
#2B30CA #752BCA #C52BCA
triadic
#752BCA #CA752B #2BCA75
tetradic
#752BCA #CA2B30 #80CA2B #2BCAC5
square
#752BCA #CA2B30 #80CA2B #2BCAC5
split-complementary
#752BCA #CAC52B #30CA2B
monochromatic
#3B1665 #582098 #752BCA #9557DB #B489E6

Accessibility & contrast

On white

7.11
#752BCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#752BCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #752BCA
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752BCA#FFFFFF#000000##FFFFFF
##752BCA1.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#60577B
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #752bca;
/* rgb */ color: rgb(117, 43, 202);
/* oklch */ color: oklch(48.9% 0.224 298.6);
Tailwind
colors: {
  custom: {
    50: '#a56ddb',
    500: '#752bca',
    950: '#000000',
  },
}
SCSS
$custom: #752bca;
$custom-light: #a56ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#752bca",
  "rgb": {
    "r": 117,
    "g": 43,
    "b": 202
  },
  "hsl": {
    "h": 267.925,
    "s": 64.898,
    "l": 48.039
  },
  "oklch": {
    "l": 0.48863,
    "c": 0.22433,
    "h": 298.6
  },
  "luminance": 0.09774
}

Semantic roles & 50–950 ramp

primary
#752BCA
secondary
#ABD081
accent
#E8409A
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #752BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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