#7251E6#7251E6

#7251E6 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.5% C 0.214 H 287.5°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#7251E6
RGBrgb(114, 81, 230)
HSLhsl(253, 75%, 61%)
HSVhsv(253, 65%, 90%)
CMYKcmyk(50.4%, 64.8%, 0%, 9.8%)
CIE-LABlab(45.87, 50.04, -71.13)
CIE-LCHlch(45.87, 86.97, 305.13°)
OKLaboklab(55.48% 0.0642 -0.204)
OKLCHoklch(55.48% 0.214 287.5)
XYZxyz(24.1606, 15.1743, 76.5034)
Luminance0.1517 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251E6 #C5E651
analogous
#517AE6 #7251E6 #BD51E6
triadic
#7251E6 #E67251 #51E672
tetradic
#7251E6 #E6517A #C5E651 #51E6BD
square
#7251E6 #E6517A #C5E651 #51E6BD
split-complementary
#7251E6 #E6BD51 #7AE651
monochromatic
#3718A5 #491FDA #7251E6 #9D87EE #C9BCF5

Accessibility & contrast

On white

5.20
#7251E6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#7251E6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251E6
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251E6#FFFFFF#000000##FFFFFF
##7251E61.005.204.035.20
#FFFFFF5.201.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070EB
Deuteranopia (green-blind)
#0069E3
Tritanopia (blue-blind)
#477694
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7251e6;
/* rgb */ color: rgb(114, 81, 230);
/* oklch */ color: oklch(55.5% 0.214 287.5);
Tailwind
colors: {
  custom: {
    50: '#a484ef',
    500: '#7251e6',
    950: '#000000',
  },
}
SCSS
$custom: #7251e6;
$custom-light: #a484ef;
$custom-dark: #000000;
JSON
{
  "hex": "#7251e6",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 230
  },
  "hsl": {
    "h": 253.289,
    "s": 74.874,
    "l": 60.98
  },
  "oklch": {
    "l": 0.55484,
    "c": 0.21386,
    "h": 287.5
  },
  "luminance": 0.15175
}

Semantic roles & 50–950 ramp

primary
#7251E6
secondary
#D9E5AD
accent
#D70EAB
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7251E6

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

Preview Lab → · Contrast checker → · Palette generator →

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