#7334B2#7334B2

#7334B2 is a mid, vivid violet. Relative luminance 0.093; OKLCH L 47.6% C 0.190 H 302.6°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#7334B2
RGBrgb(115, 52, 178)
HSLhsl(270, 55%, 45%)
HSVhsv(270, 71%, 70%)
CMYKcmyk(35.4%, 70.8%, 0%, 30.2%)
CIE-LABlab(36.58, 51.32, -56.13)
CIE-LCHlch(36.58, 76.05, 312.44°)
OKLaboklab(47.61% 0.102 -0.1598)
OKLCHoklch(47.61% 0.19 302.6)
XYZxyz(16.3322, 9.3151, 43.0484)
Luminance0.0931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334B2 #73B234
analogous
#3434B2 #7334B2 #B234B2
triadic
#7334B2 #B27334 #34B273
tetradic
#7334B2 #B23434 #73B234 #34B2B2
square
#7334B2 #B23434 #73B234 #34B2B2
split-complementary
#7334B2 #B2B234 #34B234
monochromatic
#361853 #542683 #7334B2 #9256CE #B085DB

Accessibility & contrast

On white

7.33
#7334B2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#7334B2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7334B2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334B2#FFFFFF#000000##FFFFFF
##7334B21.007.332.867.33
#FFFFFF7.331.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#0056AF
Tritanopia (blue-blind)
#66526F
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7334b2;
/* rgb */ color: rgb(115, 52, 178);
/* oklch */ color: oklch(47.6% 0.190 302.6);
Tailwind
colors: {
  custom: {
    50: '#a171ca',
    500: '#7334b2',
    950: '#000000',
  },
}
SCSS
$custom: #7334b2;
$custom-light: #a171ca;
$custom-dark: #000000;
JSON
{
  "hex": "#7334b2",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 178
  },
  "hsl": {
    "h": 270,
    "s": 54.783,
    "l": 45.098
  },
  "oklch": {
    "l": 0.47607,
    "c": 0.18959,
    "h": 302.6
  },
  "luminance": 0.09315
}

Semantic roles & 50–950 ramp

primary
#7334B2
secondary
#A1C57D
accent
#DE4A94
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7334B2

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

Preview Lab → · Contrast checker → · Palette generator →

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