#7251E4#7251E4

#7251E4 is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 55.3% C 0.211 H 287.7°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#7251E4
RGBrgb(114, 81, 228)
HSLhsl(253, 73%, 61%)
HSVhsv(253, 64%, 89%)
CMYKcmyk(50%, 64.5%, 0%, 10.6%)
CIE-LABlab(45.72, 49.47, -70.24)
CIE-LCHlch(45.72, 85.92, 305.16°)
OKLaboklab(55.33% 0.0644 -0.2014)
OKLCHoklch(55.33% 0.211 287.7)
XYZxyz(23.8814, 15.0626, 75.0328)
Luminance0.1506 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251E4 #C3E451
analogous
#517AE4 #7251E4 #BB51E4
triadic
#7251E4 #E47251 #51E472
tetradic
#7251E4 #E4517A #C3E451 #51E4BB
square
#7251E4 #E4517A #C3E451 #51E4BB
split-complementary
#7251E4 #E4BB51 #7AE451
monochromatic
#3819A2 #4A21D7 #7251E4 #9D86EC #C8BBF4

Accessibility & contrast

On white

5.23
#7251E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#7251E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251E4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251E4#FFFFFF#000000##FFFFFF
##7251E41.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070E9
Deuteranopia (green-blind)
#0068E1
Tritanopia (blue-blind)
#497593
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #7251e4;
/* rgb */ color: rgb(114, 81, 228);
/* oklch */ color: oklch(55.3% 0.211 287.7);
Tailwind
colors: {
  custom: {
    50: '#a484ee',
    500: '#7251e4',
    950: '#000000',
  },
}
SCSS
$custom: #7251e4;
$custom-light: #a484ee;
$custom-dark: #000000;
JSON
{
  "hex": "#7251e4",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 228
  },
  "hsl": {
    "h": 253.469,
    "s": 73.134,
    "l": 60.588
  },
  "oklch": {
    "l": 0.55327,
    "c": 0.21146,
    "h": 287.7
  },
  "luminance": 0.15064
}

Semantic roles & 50–950 ramp

primary
#7251E4
secondary
#D8E4AC
accent
#D510A9
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7251E4

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

Preview Lab → · Contrast checker → · Palette generator →

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