#7148D8#7148D8

#7148D8 is a mid, highly saturated violet. Relative luminance 0.131; OKLCH L 53.0% C 0.208 H 290.6°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#7148D8
RGBrgb(113, 72, 216)
HSLhsl(257, 65%, 56%)
HSVhsv(257, 67%, 85%)
CMYKcmyk(47.7%, 66.7%, 0%, 15.3%)
CIE-LABlab(42.92, 50.79, -67.98)
CIE-LCHlch(42.92, 84.85, 306.76°)
OKLaboklab(53% 0.0732 -0.1948)
OKLCHoklch(53% 0.208 290.6)
XYZxyz(21.5186, 13.1025, 66.3477)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148D8 #AFD848
analogous
#4867D8 #7148D8 #B948D8
triadic
#7148D8 #D87148 #48D871
tetradic
#7148D8 #D84867 #AFD848 #48D8B9
square
#7148D8 #D84867 #AFD848 #48D8B9
split-complementary
#7148D8 #D8B948 #67D848
monochromatic
#3C1D89 #5228BB #7148D8 #987AE3 #BFADEE

Accessibility & contrast

On white

5.80
#7148D8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#7148D8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148D8
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148D8#FFFFFF#000000##FFFFFF
##7148D81.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068DC
Deuteranopia (green-blind)
#0062D5
Tritanopia (blue-blind)
#506C8A
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #7148d8;
/* rgb */ color: rgb(113, 72, 216);
/* oklch */ color: oklch(53.0% 0.208 290.6);
Tailwind
colors: {
  custom: {
    50: '#a27ee5',
    500: '#7148d8',
    950: '#000000',
  },
}
SCSS
$custom: #7148d8;
$custom-light: #a27ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#7148d8",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 216
  },
  "hsl": {
    "h": 257.083,
    "s": 64.865,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52997,
    "c": 0.20809,
    "h": 290.6
  },
  "luminance": 0.13103
}

Semantic roles & 50–950 ramp

primary
#7148D8
secondary
#CBDBA0
accent
#E840B8
background
#FAF7FE
surface
#F4EEFC
border
#CEC9D5
text
#100A16
muted
#7F7C84

Preview Lab

Preview with #7148D8

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

Preview Lab → · Contrast checker → · Palette generator →

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