#7148E4#7148E4

#7148E4 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.0% C 0.222 H 288.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#7148E4
RGBrgb(113, 72, 228)
HSLhsl(256, 74%, 59%)
HSVhsv(256, 68%, 89%)
CMYKcmyk(50.4%, 68.4%, 0%, 10.6%)
CIE-LABlab(43.87, 54.11, -73.27)
CIE-LCHlch(43.87, 91.08, 306.44°)
OKLaboklab(53.97% 0.0714 -0.2103)
OKLCHoklch(53.97% 0.222 288.7)
XYZxyz(23.1269, 13.7458, 74.8184)
Luminance0.1375 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148E4 #BBE448
analogous
#486DE4 #7148E4 #BF48E4
triadic
#7148E4 #E47148 #48E471
tetradic
#7148E4 #E4486D #BBE448 #48E4BF
square
#7148E4 #E4486D #BBE448 #48E4BF
split-complementary
#7148E4 #E4BF48 #6DE448
monochromatic
#3A179B #4D1FD0 #7148E4 #9A7DEC #C4B3F4

Accessibility & contrast

On white

5.60
#7148E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#7148E4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148E4
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148E4#FFFFFF#000000##FFFFFF
##7148E41.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7148e4;
/* rgb */ color: rgb(113, 72, 228);
/* oklch */ color: oklch(54.0% 0.222 288.7);
Tailwind
colors: {
  custom: {
    50: '#a47eee',
    500: '#7148e4',
    950: '#000000',
  },
}
SCSS
$custom: #7148e4;
$custom-light: #a47eee;
$custom-dark: #000000;
JSON
{
  "hex": "#7148e4",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 228
  },
  "hsl": {
    "h": 255.769,
    "s": 74.286,
    "l": 58.824
  },
  "oklch": {
    "l": 0.53972,
    "c": 0.22211,
    "h": 288.7
  },
  "luminance": 0.13747
}

Semantic roles & 50–950 ramp

primary
#7148E4
secondary
#D2E3A5
accent
#F137C0
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7148E4

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

Preview Lab → · Contrast checker → · Palette generator →

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