#7254E7#7254E7

#7254E7 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.0% C 0.211 H 286.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#7254E7
RGBrgb(114, 84, 231)
HSLhsl(252, 75%, 62%)
HSVhsv(252, 64%, 91%)
CMYKcmyk(50.6%, 63.6%, 0%, 9.4%)
CIE-LABlab(46.56, 48.68, -70.57)
CIE-LCHlch(46.56, 85.73, 304.60°)
OKLaboklab(56.01% 0.0612 -0.2024)
OKLCHoklch(56.01% 0.211 286.8)
XYZxyz(24.5293, 15.6864, 77.3211)
Luminance0.1569 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7254E7 #C9E754
analogous
#5480E7 #7254E7 #BC54E7
triadic
#7254E7 #E77254 #54E772
tetradic
#7254E7 #E75480 #C9E754 #54E7BC
square
#7254E7 #E75480 #C9E754 #54E7BC
split-complementary
#7254E7 #E7BC54 #80E754
monochromatic
#3518A9 #461FDF #7254E7 #9E8AEF #CBBFF6

Accessibility & contrast

On white

5.08
#7254E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#7254E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7254E7
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7254E7#FFFFFF#000000##FFFFFF
##7254E71.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072EC
Deuteranopia (green-blind)
#006AE4
Tritanopia (blue-blind)
#467896
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7254e7;
/* rgb */ color: rgb(114, 84, 231);
/* oklch */ color: oklch(56.0% 0.211 286.8);
Tailwind
colors: {
  custom: {
    50: '#a486f0',
    500: '#7254e7',
    950: '#000000',
  },
}
SCSS
$custom: #7254e7;
$custom-light: #a486f0;
$custom-dark: #000000;
JSON
{
  "hex": "#7254e7",
  "rgb": {
    "r": 114,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 252.245,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.56006,
    "c": 0.21143,
    "h": 286.8
  },
  "luminance": 0.15688
}

Semantic roles & 50–950 ramp

primary
#7254E7
secondary
#DCE7B0
accent
#D80EAE
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7254E7

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

Preview Lab → · Contrast checker → · Palette generator →

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