#7252EB#7252EB

#7252EB is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.0% C 0.219 H 286.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7252EB
RGBrgb(114, 82, 235)
HSLhsl(253, 79%, 62%)
HSVhsv(253, 65%, 92%)
CMYKcmyk(51.5%, 65.1%, 0%, 7.8%)
CIE-LABlab(46.46, 50.92, -73.00)
CIE-LCHlch(46.46, 89.00, 304.90°)
OKLaboklab(56.03% 0.0626 -0.2095)
OKLCHoklch(56.03% 0.219 286.6)
XYZxyz(24.9477, 15.6089, 80.2794)
Luminance0.1561 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7252EB #CBEB52
analogous
#527FEB #7252EB #BF52EB
triadic
#7252EB #EB7252 #52EB72
tetradic
#7252EB #EB527F #CBEB52 #52EBBF
square
#7252EB #EB527F #CBEB52 #52EBBF
split-complementary
#7252EB #EBBF52 #7FEB52
monochromatic
#3414AE #451BE5 #7252EB #9F89F1 #CBC0F8

Accessibility & contrast

On white

5.09
#7252EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#7252EB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7252EB
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7252EB#FFFFFF#000000##FFFFFF
##7252EB1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F0
Deuteranopia (green-blind)
#006AE8
Tritanopia (blue-blind)
#437897
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7252eb;
/* rgb */ color: rgb(114, 82, 235);
/* oklch */ color: oklch(56.0% 0.219 286.6);
Tailwind
colors: {
  custom: {
    50: '#a485f2',
    500: '#7252eb',
    950: '#000000',
  },
}
SCSS
$custom: #7252eb;
$custom-light: #a485f2;
$custom-dark: #000000;
JSON
{
  "hex": "#7252eb",
  "rgb": {
    "r": 114,
    "g": 82,
    "b": 235
  },
  "hsl": {
    "h": 252.549,
    "s": 79.275,
    "l": 62.157
  },
  "oklch": {
    "l": 0.56026,
    "c": 0.21867,
    "h": 286.6
  },
  "luminance": 0.1561
}

Semantic roles & 50–950 ramp

primary
#7252EB
secondary
#DDE8B0
accent
#DC0AB0
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7252EB

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

Preview Lab → · Contrast checker → · Palette generator →

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