#7131B9#7131B9

#7131B9 is a mid, highly saturated violet. Relative luminance 0.092; OKLCH L 47.6% C 0.200 H 300.2°. Best body text is #FFFFFF at 7.39:1 contrast (WCAG AA passes).

Color values

HEX#7131B9
RGBrgb(113, 49, 185)
HSLhsl(268, 58%, 46%)
HSVhsv(268, 74%, 73%)
CMYKcmyk(38.9%, 73.5%, 0%, 27.5%)
CIE-LABlab(36.39, 54.04, -60.60)
CIE-LCHlch(36.39, 81.20, 311.72°)
OKLaboklab(47.58% 0.1008 -0.173)
OKLCHoklch(47.58% 0.2 300.2)
XYZxyz(16.6631, 9.2100, 46.7893)
Luminance0.0921 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7131B9 #79B931
analogous
#3135B9 #7131B9 #B531B9
triadic
#7131B9 #B97131 #31B971
tetradic
#7131B9 #B93135 #79B931 #31B9B5
square
#7131B9 #B93135 #79B931 #31B9B5
split-complementary
#7131B9 #B9B531 #35B931
monochromatic
#361758 #532489 #7131B9 #9055D2 #B086DF

Accessibility & contrast

On white

7.39
#7131B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7131B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7131B9
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7131B9#FFFFFF#000000##FFFFFF
##7131B91.007.392.847.39
#FFFFFF7.391.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BD
Deuteranopia (green-blind)
#0055B6
Tritanopia (blue-blind)
#605372
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7131b9;
/* rgb */ color: rgb(113, 49, 185);
/* oklch */ color: oklch(47.6% 0.200 300.2);
Tailwind
colors: {
  custom: {
    50: '#a06fcf',
    500: '#7131b9',
    950: '#000000',
  },
}
SCSS
$custom: #7131b9;
$custom-light: #a06fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7131b9",
  "rgb": {
    "r": 113,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 268.235,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47581,
    "c": 0.20023,
    "h": 300.2
  },
  "luminance": 0.0921
}

Semantic roles & 50–950 ramp

primary
#7131B9
secondary
#A5C87D
accent
#E14698
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7131B9

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

Preview Lab → · Contrast checker → · Palette generator →

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