#7151E0#7151E0

#7151E0 is a mid, highly saturated violet. Relative luminance 0.148; OKLCH L 54.9% C 0.207 H 287.9°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#7151E0
RGBrgb(113, 81, 224)
HSLhsl(253, 70%, 60%)
HSVhsv(253, 64%, 88%)
CMYKcmyk(49.6%, 63.8%, 0%, 12.2%)
CIE-LABlab(45.33, 48.15, -68.62)
CIE-LCHlch(45.33, 83.83, 305.06°)
OKLaboklab(54.93% 0.0635 -0.1967)
OKLCHoklch(54.93% 0.207 287.9)
XYZxyz(23.2031, 14.7763, 72.1361)
Luminance0.1478 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7151E0 #C0E051
analogous
#5178E0 #7151E0 #B951E0
triadic
#7151E0 #E07151 #51E071
tetradic
#7151E0 #E05178 #C0E051 #51E0B9
square
#7151E0 #E05178 #C0E051 #51E0B9
split-complementary
#7151E0 #E0B951 #78E051
monochromatic
#381C9B #4B25CF #7151E0 #9B85E9 #C6B9F3

Accessibility & contrast

On white

5.31
#7151E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#7151E0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7151E0
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7151E0#FFFFFF#000000##FFFFFF
##7151E01.005.313.965.31
#FFFFFF5.311.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE4
Deuteranopia (green-blind)
#0067DD
Tritanopia (blue-blind)
#4A7491
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #7151e0;
/* rgb */ color: rgb(113, 81, 224);
/* oklch */ color: oklch(54.9% 0.207 287.9);
Tailwind
colors: {
  custom: {
    50: '#a284eb',
    500: '#7151e0',
    950: '#000000',
  },
}
SCSS
$custom: #7151e0;
$custom-light: #a284eb;
$custom-dark: #000000;
JSON
{
  "hex": "#7151e0",
  "rgb": {
    "r": 113,
    "g": 81,
    "b": 224
  },
  "hsl": {
    "h": 253.427,
    "s": 69.756,
    "l": 59.804
  },
  "oklch": {
    "l": 0.54925,
    "c": 0.20666,
    "h": 287.9
  },
  "luminance": 0.14777
}

Semantic roles & 50–950 ramp

primary
#7151E0
secondary
#D6E2AB
accent
#ED3BC5
background
#FAF8FE
surface
#F4EFFD
border
#CECAD5
text
#100B16
muted
#7F7C84

Preview Lab

Preview with #7151E0

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

Preview Lab → · Contrast checker → · Palette generator →

#7151E0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva