#7131B8#7131B8

#7131B8 is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.5% C 0.199 H 300.5°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#7131B8
RGBrgb(113, 49, 184)
HSLhsl(268, 58%, 46%)
HSVhsv(268, 73%, 72%)
CMYKcmyk(38.6%, 73.4%, 0%, 27.8%)
CIE-LABlab(36.31, 53.79, -60.14)
CIE-LCHlch(36.31, 80.69, 311.81°)
OKLaboklab(47.5% 0.101 -0.1717)
OKLCHoklch(47.5% 0.199 300.5)
XYZxyz(16.5580, 9.1679, 46.2353)
Luminance0.0917 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131B8 #78B831
analogous
#3135B8 #7131B8 #B431B8
triadic
#7131B8 #B87131 #31B871
tetradic
#7131B8 #B83135 #78B831 #31B8B4
square
#7131B8 #B83135 #78B831 #31B8B4
split-complementary
#7131B8 #B8B431 #35B831
monochromatic
#361757 #532488 #7131B8 #9055D2 #AF85DE

Accessibility & contrast

On white

7.41
#7131B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#7131B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131B8
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131B8#FFFFFF#000000##FFFFFF
##7131B81.007.412.837.41
#FFFFFF7.411.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#615372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7131b8;
/* rgb */ color: rgb(113, 49, 184);
/* oklch */ color: oklch(47.5% 0.199 300.5);
Tailwind
colors: {
  custom: {
    50: '#a06fce',
    500: '#7131b8',
    950: '#000000',
  },
}
SCSS
$custom: #7131b8;
$custom-light: #a06fce;
$custom-dark: #000000;
JSON
{
  "hex": "#7131b8",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 184
  },
  "hsl": {
    "h": 268.444,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.475,
    "c": 0.19917,
    "h": 300.5
  },
  "luminance": 0.09168
}

Semantic roles & 50–950 ramp

primary
#7131B8
secondary
#A4C87D
accent
#E14798
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7131B8

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

Preview Lab → · Contrast checker → · Palette generator →

#7131B8 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva