#7251EE#7251EE

#7251EE is a mid, highly saturated violet. Relative luminance 0.156; OKLCH L 56.1% C 0.223 H 286.4°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#7251EE
RGBrgb(114, 81, 238)
HSLhsl(253, 82%, 63%)
HSVhsv(253, 66%, 93%)
CMYKcmyk(52.1%, 66%, 0%, 6.7%)
CIE-LABlab(46.49, 52.32, -74.63)
CIE-LCHlch(46.49, 91.14, 305.03°)
OKLaboklab(56.12% 0.0632 -0.2143)
OKLCHoklch(56.12% 0.223 286.4)
XYZxyz(25.3099, 15.6340, 82.5564)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251EE #CDEE51
analogous
#517FEE #7251EE #C051EE
triadic
#7251EE #EE7251 #51EE72
tetradic
#7251EE #EE517F #CDEE51 #51EEC0
square
#7251EE #EE517F #CDEE51 #51EEC0
split-complementary
#7251EE #EEC051 #7FEE51
monochromatic
#3311B3 #4519E9 #7251EE #9F89F3 #CCC1F9

Accessibility & contrast

On white

5.09
#7251EE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#7251EE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251EE
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251EE#FFFFFF#000000##FFFFFF
##7251EE1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072F3
Deuteranopia (green-blind)
#006AEB
Tritanopia (blue-blind)
#417999
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7251ee;
/* rgb */ color: rgb(114, 81, 238);
/* oklch */ color: oklch(56.1% 0.223 286.4);
Tailwind
colors: {
  custom: {
    50: '#a584f5',
    500: '#7251ee',
    950: '#000000',
  },
}
SCSS
$custom: #7251ee;
$custom-light: #a584f5;
$custom-dark: #000000;
JSON
{
  "hex": "#7251ee",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 238
  },
  "hsl": {
    "h": 252.611,
    "s": 82.199,
    "l": 62.549
  },
  "oklch": {
    "l": 0.56123,
    "c": 0.22343,
    "h": 286.4
  },
  "luminance": 0.15635
}

Semantic roles & 50–950 ramp

primary
#7251EE
secondary
#DEEAB1
accent
#DF07B1
background
#FAF8FF
surface
#F4EFFE
border
#CECAD6
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7251EE

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

Preview Lab → · Contrast checker → · Palette generator →

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