#7131BA#7131BA

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

Color values

HEX#7131BA
RGBrgb(113, 49, 186)
HSLhsl(268, 58%, 46%)
HSVhsv(268, 74%, 73%)
CMYKcmyk(39.2%, 73.7%, 0%, 27.1%)
CIE-LABlab(36.47, 54.29, -61.06)
CIE-LCHlch(36.47, 81.71, 311.64°)
OKLaboklab(47.66% 0.1006 -0.1744)
OKLCHoklch(47.66% 0.201 300)
XYZxyz(16.7691, 9.2523, 47.3473)
Luminance0.0925 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131BA #7ABA31
analogous
#3135BA #7131BA #B531BA
triadic
#7131BA #BA7131 #31BA71
tetradic
#7131BA #BA3135 #7ABA31 #31BAB5
square
#7131BA #BA3135 #7ABA31 #31BAB5
split-complementary
#7131BA #BAB531 #35BA31
monochromatic
#361759 #54248A #7131BA #9056D2 #B086DF

Accessibility & contrast

On white

7.37
#7131BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.85
#7131BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131BA
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131BA#FFFFFF#000000##FFFFFF
##7131BA1.007.372.857.37
#FFFFFF7.371.0021.001.00
#0000002.8521.001.0021.00
##FFFFFF7.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0055B7
Tritanopia (blue-blind)
#605473
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7131ba;
/* rgb */ color: rgb(113, 49, 186);
/* oklch */ color: oklch(47.7% 0.201 300.0);
Tailwind
colors: {
  custom: {
    50: '#a06fd0',
    500: '#7131ba',
    950: '#000000',
  },
}
SCSS
$custom: #7131ba;
$custom-light: #a06fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#7131ba",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 186
  },
  "hsl": {
    "h": 268.029,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47663,
    "c": 0.20129,
    "h": 300
  },
  "luminance": 0.09253
}

Semantic roles & 50–950 ramp

primary
#7131BA
secondary
#A6C97E
accent
#E24699
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7131BA

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

Preview Lab → · Contrast checker → · Palette generator →

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