#7251E5#7251E5

#7251E5 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.4% C 0.213 H 287.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#7251E5
RGBrgb(114, 81, 229)
HSLhsl(253, 74%, 61%)
HSVhsv(253, 65%, 90%)
CMYKcmyk(50.2%, 64.6%, 0%, 10.2%)
CIE-LABlab(45.80, 49.76, -70.68)
CIE-LCHlch(45.80, 86.44, 305.14°)
OKLaboklab(55.41% 0.0643 -0.2027)
OKLCHoklch(55.41% 0.213 287.6)
XYZxyz(24.0206, 15.1183, 75.7660)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251E5 #C4E551
analogous
#517AE5 #7251E5 #BC51E5
triadic
#7251E5 #E57251 #51E572
tetradic
#7251E5 #E5517A #C4E551 #51E5BC
square
#7251E5 #E5517A #C4E551 #51E5BC
split-complementary
#7251E5 #E5BC51 #7AE551
monochromatic
#3718A3 #4920D8 #7251E5 #9D86ED #C8BBF5

Accessibility & contrast

On white

5.22
#7251E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#7251E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251E5
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251E5#FFFFFF#000000##FFFFFF
##7251E51.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)
#0070EA
Deuteranopia (green-blind)
#0068E2
Tritanopia (blue-blind)
#487594
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7251e5;
/* rgb */ color: rgb(114, 81, 229);
/* oklch */ color: oklch(55.4% 0.213 287.6);
Tailwind
colors: {
  custom: {
    50: '#a484ee',
    500: '#7251e5',
    950: '#000000',
  },
}
SCSS
$custom: #7251e5;
$custom-light: #a484ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7251e5",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 229
  },
  "hsl": {
    "h": 253.378,
    "s": 74,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55405,
    "c": 0.21267,
    "h": 287.6
  },
  "luminance": 0.15119
}

Semantic roles & 50–950 ramp

primary
#7251E5
secondary
#D8E5AD
accent
#D60FAA
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7251E5

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

Preview Lab → · Contrast checker → · Palette generator →

#7251E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva