#752EDB#752EDB

#752EDB is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.6% C 0.239 H 294.8°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#752EDB
RGBrgb(117, 46, 219)
HSLhsl(265, 71%, 52%)
HSVhsv(265, 79%, 86%)
CMYKcmyk(46.6%, 79%, 0%, 14.1%)
CIE-LABlab(39.33, 64.25, -75.55)
CIE-LCHlch(39.33, 99.18, 310.38°)
OKLaboklab(50.64% 0.1 -0.2167)
OKLCHoklch(50.64% 0.239 294.8)
XYZxyz(21.0958, 10.8498, 67.9868)
Luminance0.1085 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#752EDB #94DB2E
analogous
#2E3EDB #752EDB #CB2EDB
triadic
#752EDB #DB752E #2EDB75
tetradic
#752EDB #DB2E3E #94DB2E #2EDBCB
square
#752EDB #DB2E3E #94DB2E #2EDBCB
split-complementary
#752EDB #DBCB2E #3EDB2E
monochromatic
#3E157A #591EAE #752EDB #9762E4 #BA96ED

Accessibility & contrast

On white

6.62
#752EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#752EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #752EDB
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##752EDB#FFFFFF#000000##FFFFFF
##752EDB1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EE0
Deuteranopia (green-blind)
#005AD8
Tritanopia (blue-blind)
#576085
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #752edb;
/* rgb */ color: rgb(117, 46, 219);
/* oklch */ color: oklch(50.6% 0.239 294.8);
Tailwind
colors: {
  custom: {
    50: '#a670e7',
    500: '#752edb',
    950: '#000000',
  },
}
SCSS
$custom: #752edb;
$custom-light: #a670e7;
$custom-dark: #000000;
JSON
{
  "hex": "#752edb",
  "rgb": {
    "r": 117,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 264.624,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50636,
    "c": 0.2387,
    "h": 294.8
  },
  "luminance": 0.1085
}

Semantic roles & 50–950 ramp

primary
#752EDB
secondary
#B9D88D
accent
#ED3AA4
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #752EDB

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

Preview Lab → · Contrast checker → · Palette generator →

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