#7148EF#7148EF

#7148EF is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 54.9% C 0.235 H 287.2°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#7148EF
RGBrgb(113, 72, 239)
HSLhsl(255, 84%, 61%)
HSVhsv(255, 70%, 94%)
CMYKcmyk(52.7%, 69.9%, 0%, 6.3%)
CIE-LABlab(44.77, 57.16, -78.01)
CIE-LCHlch(44.77, 96.71, 306.23°)
OKLaboklab(54.89% 0.0694 -0.2242)
OKLCHoklch(54.89% 0.235 287.2)
XYZxyz(24.7028, 14.3762, 83.1179)
Luminance0.1438 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148EF #C6EF48
analogous
#4872EF #7148EF #C548EF
triadic
#7148EF #EF7148 #48EF71
tetradic
#7148EF #EF4872 #C6EF48 #48EFC5
square
#7148EF #EF4872 #C6EF48 #48EFC5
split-complementary
#7148EF #EFC548 #72EF48
monochromatic
#360FAD #4814E6 #7148EF #9D80F4 #C8B9F9

Accessibility & contrast

On white

5.42
#7148EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#7148EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148EF
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148EF#FFFFFF#000000##FFFFFF
##7148EF1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EF4
Deuteranopia (green-blind)
#0065EC
Tritanopia (blue-blind)
#3E7497
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #7148ef;
/* rgb */ color: rgb(113, 72, 239);
/* oklch */ color: oklch(54.9% 0.235 287.2);
Tailwind
colors: {
  custom: {
    50: '#a57ef5',
    500: '#7148ef',
    950: '#000000',
  },
}
SCSS
$custom: #7148ef;
$custom-light: #a57ef5;
$custom-dark: #000000;
JSON
{
  "hex": "#7148ef",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 239
  },
  "hsl": {
    "h": 254.731,
    "s": 83.92,
    "l": 60.98
  },
  "oklch": {
    "l": 0.54893,
    "c": 0.23475,
    "h": 287.2
  },
  "luminance": 0.14377
}

Semantic roles & 50–950 ramp

primary
#7148EF
secondary
#D9E9AA
accent
#E005AB
background
#FAF7FF
surface
#F4EEFF
border
#CEC9D7
text
#110A17
muted
#807C85

Preview Lab

Preview with #7148EF

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

Preview Lab → · Contrast checker → · Palette generator →

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