#7131BE#7131BE

#7131BE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.0% C 0.206 H 299.0°. Best body text is #FFFFFF at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#7131BE
RGBrgb(113, 49, 190)
HSLhsl(267, 59%, 47%)
HSVhsv(267, 74%, 75%)
CMYKcmyk(40.5%, 74.2%, 0%, 25.5%)
CIE-LABlab(36.79, 55.27, -62.89)
CIE-LCHlch(36.79, 83.73, 311.31°)
OKLaboklab(47.99% 0.0997 -0.1797)
OKLCHoklch(47.99% 0.206 299)
XYZxyz(17.2003, 9.4248, 49.6182)
Luminance0.0943 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131BE #7EBE31
analogous
#3138BE #7131BE #B831BE
triadic
#7131BE #BE7131 #31BE71
tetradic
#7131BE #BE3138 #7EBE31 #31BEB8
square
#7131BE #BE3138 #7EBE31 #31BEB8
split-complementary
#7131BE #BEB831 #38BE31
monochromatic
#37185D #54248D #7131BE #9058D4 #B189E1

Accessibility & contrast

On white

7.28
#7131BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7131BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131BE
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131BE#FFFFFF#000000##FFFFFF
##7131BE1.007.282.897.28
#FFFFFF7.281.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#5E5575
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7131be;
/* rgb */ color: rgb(113, 49, 190);
/* oklch */ color: oklch(48.0% 0.206 299.0);
Tailwind
colors: {
  custom: {
    50: '#a16fd3',
    500: '#7131be',
    950: '#000000',
  },
}
SCSS
$custom: #7131be;
$custom-light: #a16fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7131be",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 267.234,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47992,
    "c": 0.20553,
    "h": 299
  },
  "luminance": 0.09425
}

Semantic roles & 50–950 ramp

primary
#7131BE
secondary
#A9CA80
accent
#E2469B
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7131BE

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

Preview Lab → · Contrast checker → · Palette generator →

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