#7254E4#7254E4

#7254E4 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 55.8% C 0.208 H 287.2°. Best body text is #FFFFFF at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#7254E4
RGBrgb(114, 84, 228)
HSLhsl(253, 73%, 61%)
HSVhsv(253, 63%, 89%)
CMYKcmyk(50%, 63.2%, 0%, 10.6%)
CIE-LABlab(46.34, 47.82, -69.24)
CIE-LCHlch(46.34, 84.15, 304.63°)
OKLaboklab(55.77% 0.0615 -0.1985)
OKLCHoklch(55.77% 0.208 287.2)
XYZxyz(24.1092, 15.5184, 75.1087)
Luminance0.1552 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254E4 #C6E454
analogous
#547EE4 #7254E4 #BA54E4
triadic
#7254E4 #E47254 #54E472
tetradic
#7254E4 #E4547E #C6E454 #54E4BA
square
#7254E4 #E4547E #C6E454 #54E4BA
split-complementary
#7254E4 #E4BA54 #7EE454
monochromatic
#371AA4 #4822D9 #7254E4 #9E89EC #C9BEF5

Accessibility & contrast

On white

5.12
#7254E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#7254E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254E4
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254E4#FFFFFF#000000##FFFFFF
##7254E41.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E9
Deuteranopia (green-blind)
#006AE1
Tritanopia (blue-blind)
#497794
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7254e4;
/* rgb */ color: rgb(114, 84, 228);
/* oklch */ color: oklch(55.8% 0.208 287.2);
Tailwind
colors: {
  custom: {
    50: '#a386ed',
    500: '#7254e4',
    950: '#000000',
  },
}
SCSS
$custom: #7254e4;
$custom-light: #a386ed;
$custom-dark: #000000;
JSON
{
  "hex": "#7254e4",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 252.5,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.55773,
    "c": 0.20777,
    "h": 287.2
  },
  "luminance": 0.15519
}

Semantic roles & 50–950 ramp

primary
#7254E4
secondary
#DAE5AF
accent
#D511AC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7254E4

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

Preview Lab → · Contrast checker → · Palette generator →

#7254E4 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva