#7148E5#7148E5

#7148E5 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.1% C 0.223 H 288.6°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#7148E5
RGBrgb(113, 72, 229)
HSLhsl(256, 75%, 59%)
HSVhsv(256, 69%, 90%)
CMYKcmyk(50.7%, 68.6%, 0%, 10.2%)
CIE-LABlab(43.95, 54.38, -73.70)
CIE-LCHlch(43.95, 91.60, 306.42°)
OKLaboklab(54.05% 0.0712 -0.2116)
OKLCHoklch(54.05% 0.223 288.6)
XYZxyz(23.2662, 13.8015, 75.5516)
Luminance0.1380 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148E5 #BCE548
analogous
#486EE5 #7148E5 #C048E5
triadic
#7148E5 #E57148 #48E571
tetradic
#7148E5 #E5486E #BCE548 #48E5C0
square
#7148E5 #E5486E #BCE548 #48E5C0
split-complementary
#7148E5 #E5C048 #6EE548
monochromatic
#39169C #4D1ED2 #7148E5 #9B7EED #C4B3F4

Accessibility & contrast

On white

5.58
#7148E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#7148E5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148E5
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148E5#FFFFFF#000000##FFFFFF
##7148E51.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BEA
Deuteranopia (green-blind)
#0064E2
Tritanopia (blue-blind)
#477091
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7148e5;
/* rgb */ color: rgb(113, 72, 229);
/* oklch */ color: oklch(54.1% 0.223 288.6);
Tailwind
colors: {
  custom: {
    50: '#a47eee',
    500: '#7148e5',
    950: '#000000',
  },
}
SCSS
$custom: #7148e5;
$custom-light: #a47eee;
$custom-dark: #000000;
JSON
{
  "hex": "#7148e5",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 229
  },
  "hsl": {
    "h": 255.669,
    "s": 75.12,
    "l": 59.02
  },
  "oklch": {
    "l": 0.54054,
    "c": 0.22327,
    "h": 288.6
  },
  "luminance": 0.13803
}

Semantic roles & 50–950 ramp

primary
#7148E5
secondary
#D3E3A6
accent
#F236C1
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7148E5

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

Preview Lab → · Contrast checker → · Palette generator →

#7148E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva