#7251E8#7251E8

#7251E8 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.6% C 0.216 H 287.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#7251E8
RGBrgb(114, 81, 232)
HSLhsl(253, 77%, 61%)
HSVhsv(253, 65%, 91%)
CMYKcmyk(50.9%, 65.1%, 0%, 9%)
CIE-LABlab(46.03, 50.61, -72.01)
CIE-LCHlch(46.03, 88.02, 305.10°)
OKLaboklab(55.64% 0.0639 -0.2066)
OKLCHoklch(55.64% 0.216 287.2)
XYZxyz(24.4431, 15.2873, 77.9911)
Luminance0.1529 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251E8 #C7E851
analogous
#517CE8 #7251E8 #BE51E8
triadic
#7251E8 #E87251 #51E872
tetradic
#7251E8 #E8517C #C7E851 #51E8BE
square
#7251E8 #E8517C #C7E851 #51E8BE
split-complementary
#7251E8 #E8BE51 #7CE851
monochromatic
#3616A8 #481DDE #7251E8 #9E87EF #CABDF6

Accessibility & contrast

On white

5.18
#7251E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#7251E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251E8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251E8#FFFFFF#000000##FFFFFF
##7251E81.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071ED
Deuteranopia (green-blind)
#0069E5
Tritanopia (blue-blind)
#467696
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7251e8;
/* rgb */ color: rgb(114, 81, 232);
/* oklch */ color: oklch(55.6% 0.216 287.2);
Tailwind
colors: {
  custom: {
    50: '#a484f0',
    500: '#7251e8',
    950: '#000000',
  },
}
SCSS
$custom: #7251e8;
$custom-light: #a484f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7251e8",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 232
  },
  "hsl": {
    "h": 253.113,
    "s": 76.65,
    "l": 61.373
  },
  "oklch": {
    "l": 0.55643,
    "c": 0.21627,
    "h": 287.2
  },
  "luminance": 0.15288
}

Semantic roles & 50–950 ramp

primary
#7251E8
secondary
#DAE7AE
accent
#D90DAC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7251E8

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

Preview Lab → · Contrast checker → · Palette generator →

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