#7148E8#7148E8

#7148E8 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.3% C 0.227 H 288.2°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#7148E8
RGBrgb(113, 72, 232)
HSLhsl(255, 78%, 60%)
HSVhsv(255, 69%, 91%)
CMYKcmyk(51.3%, 69%, 0%, 9%)
CIE-LABlab(44.19, 55.21, -75.01)
CIE-LCHlch(44.19, 93.14, 306.36°)
OKLaboklab(54.3% 0.0707 -0.2154)
OKLCHoklch(54.3% 0.227 288.2)
XYZxyz(23.6886, 13.9705, 77.7767)
Luminance0.1397 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148E8 #BFE848
analogous
#486FE8 #7148E8 #C148E8
triadic
#7148E8 #E87148 #48E871
tetradic
#7148E8 #E8486F #BFE848 #48E8C1
square
#7148E8 #E8486F #BFE848 #48E8C1
split-complementary
#7148E8 #E8C148 #6FE848
monochromatic
#3814A1 #4B1BD8 #7148E8 #9B7EEF #C5B5F6

Accessibility & contrast

On white

5.53
#7148E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#7148E8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148E8
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148E8#FFFFFF#000000##FFFFFF
##7148E81.005.533.795.53
#FFFFFF5.531.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CED
Deuteranopia (green-blind)
#0064E5
Tritanopia (blue-blind)
#447193
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7148e8;
/* rgb */ color: rgb(113, 72, 232);
/* oklch */ color: oklch(54.3% 0.227 288.2);
Tailwind
colors: {
  custom: {
    50: '#a47ef0',
    500: '#7148e8',
    950: '#000000',
  },
}
SCSS
$custom: #7148e8;
$custom-light: #a47ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7148e8",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 232
  },
  "hsl": {
    "h": 255.375,
    "s": 77.67,
    "l": 59.608
  },
  "oklch": {
    "l": 0.54304,
    "c": 0.22672,
    "h": 288.2
  },
  "luminance": 0.13972
}

Semantic roles & 50–950 ramp

primary
#7148E8
secondary
#D5E5A7
accent
#F434C3
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7148E8

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

Preview Lab → · Contrast checker → · Palette generator →

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