#7148BC#7148BC

#7148BC is a mid, vivid violet. Relative luminance 0.118; OKLCH L 50.9% C 0.174 H 295.9°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#7148BC
RGBrgb(113, 72, 188)
HSLhsl(261, 46%, 51%)
HSVhsv(261, 62%, 74%)
CMYKcmyk(39.9%, 61.7%, 0%, 26.3%)
CIE-LABlab(40.86, 43.13, -55.11)
CIE-LCHlch(40.86, 69.98, 308.05°)
OKLaboklab(50.86% 0.0761 -0.1569)
OKLCHoklch(50.86% 0.174 295.9)
XYZxyz(18.2022, 11.7759, 48.8812)
Luminance0.1178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7148BC #93BC48
analogous
#4859BC #7148BC #AB48BC
triadic
#7148BC #BC7148 #48BC71
tetradic
#7148BC #BC4859 #93BC48 #48BCAB
square
#7148BC #BC4859 #93BC48 #48BCAB
split-complementary
#7148BC #BCAB48 #59BC48
monochromatic
#3B2565 #563592 #7148BC #9475CC #B7A2DD

Accessibility & contrast

On white

6.26
#7148BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#7148BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7148BC
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7148BC#FFFFFF#000000##FFFFFF
##7148BC1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C0
Deuteranopia (green-blind)
#065FB9
Tritanopia (blue-blind)
#5E627B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #7148bc;
/* rgb */ color: rgb(113, 72, 188);
/* oklch */ color: oklch(50.9% 0.174 295.9);
Tailwind
colors: {
  custom: {
    50: '#9f7dd1',
    500: '#7148bc',
    950: '#000000',
  },
}
SCSS
$custom: #7148bc;
$custom-light: #9f7dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#7148bc",
  "rgb": {
    "r": 113,
    "g": 72,
    "b": 188
  },
  "hsl": {
    "h": 261.207,
    "s": 46.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.5086,
    "c": 0.17442,
    "h": 295.9
  },
  "luminance": 0.11776
}

Semantic roles & 50–950 ramp

primary
#7148BC
secondary
#B7CA96
accent
#D652A7
background
#FAF7FC
surface
#F4EEF9
border
#CEC9D2
text
#0F0A14
muted
#7F7C82

Preview Lab

Preview with #7148BC

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

Preview Lab → · Contrast checker → · Palette generator →

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