#7148E7#7148E7

#7148E7 is a mid, highly saturated violet. Relative luminance 0.139; OKLCH L 54.2% C 0.226 H 288.3°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#7148E7
RGBrgb(113, 72, 231)
HSLhsl(255, 77%, 59%)
HSVhsv(255, 69%, 91%)
CMYKcmyk(51.1%, 68.8%, 0%, 9.4%)
CIE-LABlab(44.11, 54.94, -74.57)
CIE-LCHlch(44.11, 92.62, 306.38°)
OKLaboklab(54.22% 0.0709 -0.2141)
OKLCHoklch(54.22% 0.226 288.3)
XYZxyz(23.5470, 13.9139, 77.0307)
Luminance0.1391 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148E7 #BEE748
analogous
#486EE7 #7148E7 #C148E7
triadic
#7148E7 #E77148 #48E771
tetradic
#7148E7 #E7486E #BEE748 #48E7C1
square
#7148E7 #E7486E #BEE748 #48E7C1
split-complementary
#7148E7 #E7C148 #6EE748
monochromatic
#3915A0 #4C1CD6 #7148E7 #9B7EEE #C5B4F5

Accessibility & contrast

On white

5.55
#7148E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#7148E7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148E7
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148E7#FFFFFF#000000##FFFFFF
##7148E71.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CEC
Deuteranopia (green-blind)
#0064E4
Tritanopia (blue-blind)
#457192
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #7148e7;
/* rgb */ color: rgb(113, 72, 231);
/* oklch */ color: oklch(54.2% 0.226 288.3);
Tailwind
colors: {
  custom: {
    50: '#a47ef0',
    500: '#7148e7',
    950: '#000000',
  },
}
SCSS
$custom: #7148e7;
$custom-light: #a47ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#7148e7",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 231
  },
  "hsl": {
    "h": 255.472,
    "s": 76.812,
    "l": 59.412
  },
  "oklch": {
    "l": 0.5422,
    "c": 0.22557,
    "h": 288.3
  },
  "luminance": 0.13915
}

Semantic roles & 50–950 ramp

primary
#7148E7
secondary
#D4E4A6
accent
#F334C2
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7148E7

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

Preview Lab → · Contrast checker → · Palette generator →

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