#7451F2#7451F2

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

Color values

HEX#7451F2
RGBrgb(116, 81, 242)
HSLhsl(253, 86%, 63%)
HSVhsv(253, 67%, 95%)
CMYKcmyk(52.1%, 66.5%, 0%, 5.1%)
CIE-LABlab(46.98, 53.79, -76.06)
CIE-LCHlch(46.98, 93.16, 305.26°)
OKLaboklab(56.62% 0.0653 -0.2185)
OKLCHoklch(56.62% 0.228 286.6)
XYZxyz(26.1671, 16.0073, 85.6981)
Luminance0.1601 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7451F2 #CFF251
analogous
#517FF2 #7451F2 #C451F2
triadic
#7451F2 #F27451 #51F274
tetradic
#7451F2 #F2517F #CFF251 #51F2C4
square
#7451F2 #F2517F #CFF251 #51F2C4
split-complementary
#7451F2 #F2C451 #7FF251
monochromatic
#330EBB #4718EE #7451F2 #A18AF6 #CFC3FB

Accessibility & contrast

On white

5.00
#7451F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7451F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7451F2
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7451F2#FFFFFF#000000##FFFFFF
##7451F21.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)
#0073F7
Deuteranopia (green-blind)
#006BEF
Tritanopia (blue-blind)
#427A9B
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7451f2;
/* rgb */ color: rgb(116, 81, 242);
/* oklch */ color: oklch(56.6% 0.228 286.6);
Tailwind
colors: {
  custom: {
    50: '#a784f7',
    500: '#7451f2',
    950: '#000000',
  },
}
SCSS
$custom: #7451f2;
$custom-light: #a784f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7451f2",
  "rgb": {
    "r": 116,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 253.043,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56619,
    "c": 0.228,
    "h": 286.6
  },
  "luminance": 0.16009
}

Semantic roles & 50–950 ramp

primary
#7451F2
secondary
#E0ECB3
accent
#E303B2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #7451F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7451F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva