#7154E2#7154E2

#7154E2 is a mid, highly saturated violet. Relative luminance 0.153; OKLCH L 55.5% C 0.205 H 287.1°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#7154E2
RGBrgb(113, 84, 226)
HSLhsl(252, 71%, 61%)
HSVhsv(252, 63%, 89%)
CMYKcmyk(50%, 62.8%, 0%, 11.4%)
CIE-LABlab(46.10, 47.06, -68.50)
CIE-LCHlch(46.10, 83.11, 304.49°)
OKLaboklab(55.53% 0.0604 -0.1963)
OKLCHoklch(55.53% 0.205 287.1)
XYZxyz(23.7038, 15.3412, 73.6489)
Luminance0.1534 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7154E2 #C5E254
analogous
#547EE2 #7154E2 #B854E2
triadic
#7154E2 #E27154 #54E271
tetradic
#7154E2 #E2547E #C5E254 #54E2B8
square
#7154E2 #E2547E #C5E254 #54E2B8
split-complementary
#7154E2 #E2B854 #7EE254
monochromatic
#361BA0 #4824D5 #7154E2 #9C88EB #C8BDF4

Accessibility & contrast

On white

5.16
#7154E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#7154E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7154E2
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7154E2#FFFFFF#000000##FFFFFF
##7154E21.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E6
Deuteranopia (green-blind)
#0069DF
Tritanopia (blue-blind)
#487693
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #7154e2;
/* rgb */ color: rgb(113, 84, 226);
/* oklch */ color: oklch(55.5% 0.205 287.1);
Tailwind
colors: {
  custom: {
    50: '#a386ec',
    500: '#7154e2',
    950: '#000000',
  },
}
SCSS
$custom: #7154e2;
$custom-light: #a386ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7154e2",
  "rgb": {
    "r": 113,
    "g": 84,
    "b": 226
  },
  "hsl": {
    "h": 252.254,
    "s": 71,
    "l": 60.784
  },
  "oklch": {
    "l": 0.55532,
    "c": 0.20539,
    "h": 287.1
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

primary
#7154E2
secondary
#D9E4AE
accent
#D312AC
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7154E2

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

Preview Lab → · Contrast checker → · Palette generator →

#7154E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva