#7331B9#7331B9

#7331B9 is a mid, highly saturated violet. Relative luminance 0.093; OKLCH L 47.8% C 0.201 H 301.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#7331B9
RGBrgb(115, 49, 185)
HSLhsl(269, 58%, 46%)
HSVhsv(269, 74%, 73%)
CMYKcmyk(37.8%, 73.5%, 0%, 27.5%)
CIE-LABlab(36.64, 54.40, -60.18)
CIE-LCHlch(36.64, 81.12, 312.11°)
OKLaboklab(47.82% 0.1036 -0.1717)
OKLCHoklch(47.82% 0.201 301.1)
XYZxyz(16.9234, 9.3441, 46.8015)
Luminance0.0934 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331B9 #77B931
analogous
#3133B9 #7331B9 #B731B9
triadic
#7331B9 #B97331 #31B973
tetradic
#7331B9 #B93133 #77B931 #31B9B7
square
#7331B9 #B93133 #77B931 #31B9B7
split-complementary
#7331B9 #B9B731 #33B931
monochromatic
#371758 #552489 #7331B9 #9255D2 #B186DF

Accessibility & contrast

On white

7.32
#7331B9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7331B9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7331B9
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331B9#FFFFFF#000000##FFFFFF
##7331B91.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7331b9;
/* rgb */ color: rgb(115, 49, 185);
/* oklch */ color: oklch(47.8% 0.201 301.1);
Tailwind
colors: {
  custom: {
    50: '#a16fcf',
    500: '#7331b9',
    950: '#000000',
  },
}
SCSS
$custom: #7331b9;
$custom-light: #a16fcf;
$custom-dark: #000000;
JSON
{
  "hex": "#7331b9",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 185
  },
  "hsl": {
    "h": 269.118,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47816,
    "c": 0.20056,
    "h": 301.1
  },
  "luminance": 0.09344
}

Semantic roles & 50–950 ramp

primary
#7331B9
secondary
#A4C87D
accent
#E14696
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7331B9

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

Preview Lab → · Contrast checker → · Palette generator →

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