#7148BF#7148BF

#7148BF is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.1% C 0.178 H 295.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#7148BF
RGBrgb(113, 72, 191)
HSLhsl(261, 48%, 52%)
HSVhsv(261, 62%, 75%)
CMYKcmyk(40.8%, 62.3%, 0%, 25.1%)
CIE-LABlab(41.07, 43.94, -56.53)
CIE-LCHlch(41.07, 71.59, 307.86°)
OKLaboklab(51.08% 0.0759 -0.1611)
OKLCHoklch(51.08% 0.178 295.2)
XYZxyz(18.5289, 11.9066, 50.6021)
Luminance0.1191 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148BF #96BF48
analogous
#485BBF #7148BF #AC48BF
triadic
#7148BF #BF7148 #48BF71
tetradic
#7148BF #BF485B #96BF48 #48BFAC
square
#7148BF #BF485B #96BF48 #48BFAC
split-complementary
#7148BF #BFAC48 #5BBF48
monochromatic
#3C2468 #563496 #7148BF #9475CF #B7A3DF

Accessibility & contrast

On white

6.21
#7148BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#7148BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148BF
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148BF#FFFFFF#000000##FFFFFF
##7148BF1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062C3
Deuteranopia (green-blind)
#005FBC
Tritanopia (blue-blind)
#5D637D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #7148bf;
/* rgb */ color: rgb(113, 72, 191);
/* oklch */ color: oklch(51.1% 0.178 295.2);
Tailwind
colors: {
  custom: {
    50: '#9f7dd3',
    500: '#7148bf',
    950: '#000000',
  },
}
SCSS
$custom: #7148bf;
$custom-light: #9f7dd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7148bf",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 191
  },
  "hsl": {
    "h": 260.672,
    "s": 48.178,
    "l": 51.569
  },
  "oklch": {
    "l": 0.51079,
    "c": 0.17809,
    "h": 295.2
  },
  "luminance": 0.11907
}

Semantic roles & 50–950 ramp

primary
#7148BF
secondary
#BACC97
accent
#D850A9
background
#FAF7FD
surface
#F4EEFA
border
#CEC9D3
text
#0F0A14
muted
#7F7C83

Preview Lab

Preview with #7148BF

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

Preview Lab → · Contrast checker → · Palette generator →

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