#7251F4#7251F4

#7251F4 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.231 H 285.7°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7251F4
RGBrgb(114, 81, 244)
HSLhsl(252, 88%, 64%)
HSVhsv(252, 67%, 96%)
CMYKcmyk(53.3%, 66.8%, 0%, 4.3%)
CIE-LABlab(46.96, 54.03, -77.22)
CIE-LCHlch(46.96, 94.25, 304.98°)
OKLaboklab(56.61% 0.0623 -0.2219)
OKLCHoklch(56.61% 0.231 285.7)
XYZxyz(26.2061, 15.9925, 87.2764)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7251F4 #D3F451
analogous
#5181F4 #7251F4 #C351F4
triadic
#7251F4 #F47251 #51F472
tetradic
#7251F4 #F45181 #D3F451 #51F4C3
square
#7251F4 #F45181 #D3F451 #51F4C3
split-complementary
#7251F4 #F4C351 #81F451
monochromatic
#300CBF #4317F0 #7251F4 #A18BF8 #CFC4FB

Accessibility & contrast

On white

5.00
#7251F4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7251F4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7251F4
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7251F4#FFFFFF#000000##FFFFFF
##7251F41.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F9
Deuteranopia (green-blind)
#006AF1
Tritanopia (blue-blind)
#3B7B9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7251f4;
/* rgb */ color: rgb(114, 81, 244);
/* oklch */ color: oklch(56.6% 0.231 285.7);
Tailwind
colors: {
  custom: {
    50: '#a684f9',
    500: '#7251f4',
    950: '#000000',
  },
}
SCSS
$custom: #7251f4;
$custom-light: #a684f9;
$custom-dark: #000000;
JSON
{
  "hex": "#7251f4",
  "rgb": {
    "r": 114,
    "g": 81,
    "b": 244
  },
  "hsl": {
    "h": 252.147,
    "s": 88.108,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56611,
    "c": 0.23051,
    "h": 285.7
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#7251F4
secondary
#E2EDB4
accent
#E501B7
background
#FAF8FF
surface
#F5EFFF
border
#CFCAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7251F4

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

Preview Lab → · Contrast checker → · Palette generator →

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