#7148EC#7148EC

#7148EC is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.6% C 0.231 H 287.6°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#7148EC
RGBrgb(113, 72, 236)
HSLhsl(255, 81%, 60%)
HSVhsv(255, 69%, 93%)
CMYKcmyk(52.1%, 69.5%, 0%, 7.5%)
CIE-LABlab(44.52, 56.32, -76.73)
CIE-LCHlch(44.52, 95.18, 306.28°)
OKLaboklab(54.64% 0.07 -0.2205)
OKLCHoklch(54.64% 0.231 287.6)
XYZxyz(24.2633, 14.2004, 80.8031)
Luminance0.1420 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148EC #C3EC48
analogous
#4871EC #7148EC #C348EC
triadic
#7148EC #EC7148 #48EC71
tetradic
#7148EC #EC4871 #C3EC48 #48ECC3
square
#7148EC #EC4871 #C3EC48 #48ECC3
split-complementary
#7148EC #ECC348 #71EC48
monochromatic
#3711A8 #4917E0 #7148EC #9C7FF2 #C7B7F8

Accessibility & contrast

On white

5.47
#7148EC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#7148EC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148EC
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148EC#FFFFFF#000000##FFFFFF
##7148EC1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006DF1
Deuteranopia (green-blind)
#0065E9
Tritanopia (blue-blind)
#417395
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #7148ec;
/* rgb */ color: rgb(113, 72, 236);
/* oklch */ color: oklch(54.6% 0.231 287.6);
Tailwind
colors: {
  custom: {
    50: '#a57ef3',
    500: '#7148ec',
    950: '#000000',
  },
}
SCSS
$custom: #7148ec;
$custom-light: #a57ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#7148ec",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 236
  },
  "hsl": {
    "h": 255,
    "s": 81.188,
    "l": 60.392
  },
  "oklch": {
    "l": 0.54639,
    "c": 0.23132,
    "h": 287.6
  },
  "luminance": 0.14202
}

Semantic roles & 50–950 ramp

primary
#7148EC
secondary
#D8E7A9
accent
#DE08A8
background
#FAF7FF
surface
#F4EEFE
border
#CEC9D6
text
#100A17
muted
#7F7C85

Preview Lab

Preview with #7148EC

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

Preview Lab → · Contrast checker → · Palette generator →

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