#7148DC#7148DC

#7148DC is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.3% C 0.213 H 290.0°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#7148DC
RGBrgb(113, 72, 220)
HSLhsl(257, 68%, 57%)
HSVhsv(257, 67%, 86%)
CMYKcmyk(48.6%, 67.3%, 0%, 13.7%)
CIE-LABlab(43.23, 51.89, -69.75)
CIE-LCHlch(43.23, 86.94, 306.65°)
OKLaboklab(53.32% 0.0727 -0.2)
OKLCHoklch(53.32% 0.213 290)
XYZxyz(22.0420, 13.3119, 69.1043)
Luminance0.1331 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148DC #B3DC48
analogous
#4869DC #7148DC #BB48DC
triadic
#7148DC #DC7148 #48DC71
tetradic
#7148DC #DC4869 #B3DC48 #48DCBB
square
#7148DC #DC4869 #B3DC48 #48DCBB
split-complementary
#7148DC #DCBB48 #69DC48
monochromatic
#3B1B8E #5025C2 #7148DC #997BE6 #C1AFF0

Accessibility & contrast

On white

5.73
#7148DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#7148DC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148DC
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148DC#FFFFFF#000000##FFFFFF
##7148DC1.005.733.665.73
#FFFFFF5.731.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#0063D9
Tritanopia (blue-blind)
#4D6D8C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #7148dc;
/* rgb */ color: rgb(113, 72, 220);
/* oklch */ color: oklch(53.3% 0.213 290.0);
Tailwind
colors: {
  custom: {
    50: '#a37ee8',
    500: '#7148dc',
    950: '#000000',
  },
}
SCSS
$custom: #7148dc;
$custom-light: #a37ee8;
$custom-dark: #000000;
JSON
{
  "hex": "#7148dc",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 220
  },
  "hsl": {
    "h": 256.622,
    "s": 67.89,
    "l": 57.255
  },
  "oklch": {
    "l": 0.53318,
    "c": 0.2128,
    "h": 290
  },
  "luminance": 0.13313
}

Semantic roles & 50–950 ramp

primary
#7148DC
secondary
#CDDEA2
accent
#EB3DBB
background
#FAF7FE
surface
#F4EEFD
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7148DC

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

Preview Lab → · Contrast checker → · Palette generator →

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