#7148BE#7148BE

#7148BE is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.0% C 0.177 H 295.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#7148BE
RGBrgb(113, 72, 190)
HSLhsl(261, 48%, 51%)
HSVhsv(261, 62%, 75%)
CMYKcmyk(40.5%, 62.1%, 0%, 25.5%)
CIE-LABlab(41.00, 43.67, -56.05)
CIE-LCHlch(41.00, 71.06, 307.92°)
OKLaboklab(51.01% 0.076 -0.1597)
OKLCHoklch(51.01% 0.177 295.4)
XYZxyz(18.4192, 11.8628, 50.0245)
Luminance0.1186 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148BE #95BE48
analogous
#485ABE #7148BE #AC48BE
triadic
#7148BE #BE7148 #48BE71
tetradic
#7148BE #BE485A #95BE48 #48BEAC
square
#7148BE #BE485A #95BE48 #48BEAC
split-complementary
#7148BE #BEAC48 #5ABE48
monochromatic
#3C2567 #563594 #7148BE #9475CE #B7A2DE

Accessibility & contrast

On white

6.23
#7148BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#7148BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148BE
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148BE#FFFFFF#000000##FFFFFF
##7148BE1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C2
Deuteranopia (green-blind)
#005FBB
Tritanopia (blue-blind)
#5D627C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7148be;
/* rgb */ color: rgb(113, 72, 190);
/* oklch */ color: oklch(51.0% 0.177 295.4);
Tailwind
colors: {
  custom: {
    50: '#9f7dd2',
    500: '#7148be',
    950: '#000000',
  },
}
SCSS
$custom: #7148be;
$custom-light: #9f7dd2;
$custom-dark: #000000;
JSON
{
  "hex": "#7148be",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 190
  },
  "hsl": {
    "h": 260.847,
    "s": 47.581,
    "l": 51.373
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.17687,
    "h": 295.4
  },
  "luminance": 0.11863
}

Semantic roles & 50–950 ramp

primary
#7148BE
secondary
#B9CB97
accent
#D751A8
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7148BE

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

Preview Lab → · Contrast checker → · Palette generator →

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