#7334B5#7334B5

#7334B5 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.8% C 0.193 H 301.8°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#7334B5
RGBrgb(115, 52, 181)
HSLhsl(269, 55%, 46%)
HSVhsv(269, 71%, 71%)
CMYKcmyk(36.5%, 71.3%, 0%, 29%)
CIE-LABlab(36.81, 52.05, -57.53)
CIE-LCHlch(36.81, 77.59, 312.14°)
OKLaboklab(47.84% 0.1015 -0.164)
OKLCHoklch(47.84% 0.193 301.8)
XYZxyz(16.6367, 9.4369, 44.6521)
Luminance0.0944 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334B5 #76B534
analogous
#3436B5 #7334B5 #B334B5
triadic
#7334B5 #B57334 #34B573
tetradic
#7334B5 #B53436 #76B534 #34B5B3
square
#7334B5 #B53436 #76B534 #34B5B3
split-complementary
#7334B5 #B5B334 #36B534
monochromatic
#371956 #552685 #7334B5 #9257CF #B187DC

Accessibility & contrast

On white

7.27
#7334B5 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#7334B5 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7334B5
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334B5#FFFFFF#000000##FFFFFF
##7334B51.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B9
Deuteranopia (green-blind)
#0056B2
Tritanopia (blue-blind)
#655371
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7334b5;
/* rgb */ color: rgb(115, 52, 181);
/* oklch */ color: oklch(47.8% 0.193 301.8);
Tailwind
colors: {
  custom: {
    50: '#a171cc',
    500: '#7334b5',
    950: '#000000',
  },
}
SCSS
$custom: #7334b5;
$custom-light: #a171cc;
$custom-dark: #000000;
JSON
{
  "hex": "#7334b5",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 181
  },
  "hsl": {
    "h": 269.302,
    "s": 55.365,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47841,
    "c": 0.19283,
    "h": 301.8
  },
  "luminance": 0.09437
}

Semantic roles & 50–950 ramp

primary
#7334B5
secondary
#A3C67F
accent
#DF4996
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7334B5

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

Preview Lab → · Contrast checker → · Palette generator →

#7334B5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva