#7148BA#7148BA

#7148BA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 50.7% C 0.172 H 296.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#7148BA
RGBrgb(113, 72, 186)
HSLhsl(262, 45%, 51%)
HSVhsv(262, 61%, 73%)
CMYKcmyk(39.2%, 61.3%, 0%, 27.1%)
CIE-LABlab(40.72, 42.59, -54.16)
CIE-LCHlch(40.72, 68.90, 308.18°)
OKLaboklab(50.72% 0.0762 -0.1542)
OKLCHoklch(50.72% 0.172 296.3)
XYZxyz(17.9881, 11.6903, 47.7536)
Luminance0.1169 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148BA #91BA48
analogous
#4858BA #7148BA #AA48BA
triadic
#7148BA #BA7148 #48BA71
tetradic
#7148BA #BA4858 #91BA48 #48BAAA
square
#7148BA #BA4858 #91BA48 #48BAAA
split-complementary
#7148BA #BAAA48 #58BA48
monochromatic
#3B2562 #56368F #7148BA #9374CB #B6A1DC

Accessibility & contrast

On white

6.29
#7148BA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#7148BA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148BA
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148BA#FFFFFF#000000##FFFFFF
##7148BA1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061BE
Deuteranopia (green-blind)
#0E5EB8
Tritanopia (blue-blind)
#5F617A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7148ba;
/* rgb */ color: rgb(113, 72, 186);
/* oklch */ color: oklch(50.7% 0.172 296.3);
Tailwind
colors: {
  custom: {
    50: '#9f7dcf',
    500: '#7148ba',
    950: '#000000',
  },
}
SCSS
$custom: #7148ba;
$custom-light: #9f7dcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7148ba",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 186
  },
  "hsl": {
    "h": 261.579,
    "s": 45.238,
    "l": 50.588
  },
  "oklch": {
    "l": 0.50715,
    "c": 0.17196,
    "h": 296.3
  },
  "luminance": 0.11691
}

Semantic roles & 50–950 ramp

primary
#7148BA
secondary
#B6C896
accent
#D553A6
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7148BA

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

Preview Lab → · Contrast checker → · Palette generator →

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