#7252E2#7252E2

#7252E2 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.3% C 0.208 H 287.8°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7252E2
RGBrgb(114, 82, 226)
HSLhsl(253, 71%, 60%)
HSVhsv(253, 64%, 89%)
CMYKcmyk(49.6%, 63.7%, 0%, 11.4%)
CIE-LABlab(45.77, 48.35, -69.02)
CIE-LCHlch(45.77, 84.27, 305.01°)
OKLaboklab(55.32% 0.0636 -0.1978)
OKLCHoklch(55.32% 0.208 287.8)
XYZxyz(23.6802, 15.1019, 73.6040)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252E2 #C2E252
analogous
#527AE2 #7252E2 #BA52E2
triadic
#7252E2 #E27252 #52E272
tetradic
#7252E2 #E2527A #C2E252 #52E2BA
square
#7252E2 #E2527A #C2E252 #52E2BA
split-complementary
#7252E2 #E2BA52 #7AE252
monochromatic
#381B9F #4B23D3 #7252E2 #9D86EB #C7BBF4

Accessibility & contrast

On white

5.22
#7252E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7252E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252E2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252E2#FFFFFF#000000##FFFFFF
##7252E21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E7
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#4A7593
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7252e2;
/* rgb */ color: rgb(114, 82, 226);
/* oklch */ color: oklch(55.3% 0.208 287.8);
Tailwind
colors: {
  custom: {
    50: '#a384ec',
    500: '#7252e2',
    950: '#000000',
  },
}
SCSS
$custom: #7252e2;
$custom-light: #a384ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7252e2",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 226
  },
  "hsl": {
    "h": 253.333,
    "s": 71.287,
    "l": 60.392
  },
  "oklch": {
    "l": 0.55318,
    "c": 0.20781,
    "h": 287.8
  },
  "luminance": 0.15103
}

Semantic roles & 50–950 ramp

primary
#7252E2
secondary
#D7E3AC
accent
#D312A8
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7252E2

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

Preview Lab → · Contrast checker → · Palette generator →

#7252E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva