#7331C9#7331C9

#7331C9 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.1% C 0.217 H 297.4°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#7331C9
RGBrgb(115, 49, 201)
HSLhsl(266, 61%, 49%)
HSVhsv(266, 76%, 79%)
CMYKcmyk(42.8%, 75.6%, 0%, 21.2%)
CIE-LABlab(37.95, 58.32, -67.42)
CIE-LCHlch(37.95, 89.15, 310.86°)
OKLaboklab(49.14% 0.0999 -0.193)
OKLCHoklch(49.14% 0.217 297.4)
XYZxyz(18.7084, 10.0582, 56.2028)
Luminance0.1006 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331C9 #87C931
analogous
#313BC9 #7331C9 #BF31C9
triadic
#7331C9 #C97331 #31C973
tetradic
#7331C9 #C9313B #87C931 #31C9BF
square
#7331C9 #C9313B #87C931 #31C9BF
split-complementary
#7331C9 #C9BF31 #3BC931
monochromatic
#3B1967 #572598 #7331C9 #945FD8 #B590E4

Accessibility & contrast

On white

6.97
#7331C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#7331C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7331C9
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331C9#FFFFFF#000000##FFFFFF
##7331C91.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACD
Deuteranopia (green-blind)
#0057C6
Tritanopia (blue-blind)
#5D5A7B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #7331c9;
/* rgb */ color: rgb(115, 49, 201);
/* oklch */ color: oklch(49.1% 0.217 297.4);
Tailwind
colors: {
  custom: {
    50: '#a370db',
    500: '#7331c9',
    950: '#000000',
  },
}
SCSS
$custom: #7331c9;
$custom-light: #a370db;
$custom-dark: #000000;
JSON
{
  "hex": "#7331c9",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 201
  },
  "hsl": {
    "h": 266.053,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.49142,
    "c": 0.2173,
    "h": 297.4
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#7331C9
secondary
#B0CF87
accent
#E4449E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7331C9

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

Preview Lab → · Contrast checker → · Palette generator →

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