#7131BB#7131BB

#7131BB is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.7% C 0.202 H 299.7°. Best body text is #FFFFFF at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#7131BB
RGBrgb(113, 49, 187)
HSLhsl(268, 58%, 46%)
HSVhsv(268, 74%, 73%)
CMYKcmyk(39.6%, 73.8%, 0%, 26.7%)
CIE-LABlab(36.55, 54.53, -61.52)
CIE-LCHlch(36.55, 82.21, 311.55°)
OKLaboklab(47.75% 0.1004 -0.1757)
OKLCHoklch(47.75% 0.202 299.7)
XYZxyz(16.8758, 9.2950, 47.9091)
Luminance0.0930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131BB #7BBB31
analogous
#3136BB #7131BB #B631BB
triadic
#7131BB #BB7131 #31BB71
tetradic
#7131BB #BB3136 #7BBB31 #31BBB6
square
#7131BB #BB3136 #7BBB31 #31BBB6
split-complementary
#7131BB #BBB631 #36BB31
monochromatic
#36185A #54248B #7131BB #9056D3 #B087E0

Accessibility & contrast

On white

7.35
#7131BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7131BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131BB
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131BB#FFFFFF#000000##FFFFFF
##7131BB1.007.352.867.35
#FFFFFF7.351.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BF
Deuteranopia (green-blind)
#0055B8
Tritanopia (blue-blind)
#605473
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7131bb;
/* rgb */ color: rgb(113, 49, 187);
/* oklch */ color: oklch(47.7% 0.202 299.7);
Tailwind
colors: {
  custom: {
    50: '#a06fd0',
    500: '#7131bb',
    950: '#000000',
  },
}
SCSS
$custom: #7131bb;
$custom-light: #a06fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7131bb",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 187
  },
  "hsl": {
    "h": 267.826,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.47745,
    "c": 0.20236,
    "h": 299.7
  },
  "luminance": 0.09295
}

Semantic roles & 50–950 ramp

primary
#7131BB
secondary
#A7C97F
accent
#E2469A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7131BB

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

Preview Lab → · Contrast checker → · Palette generator →

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