#7334B8#7334B8

#7334B8 is a mid, vivid violet. Relative luminance 0.096; OKLCH L 48.1% C 0.196 H 301.0°. Best body text is #FFFFFF at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#7334B8
RGBrgb(115, 52, 184)
HSLhsl(269, 56%, 46%)
HSVhsv(269, 72%, 72%)
CMYKcmyk(37.5%, 71.7%, 0%, 27.8%)
CIE-LABlab(37.04, 52.79, -58.93)
CIE-LCHlch(37.04, 79.12, 311.85°)
OKLaboklab(48.08% 0.101 -0.168)
OKLCHoklch(48.08% 0.196 301)
XYZxyz(16.9478, 9.5614, 46.2908)
Luminance0.0956 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334B8 #79B834
analogous
#3437B8 #7334B8 #B534B8
triadic
#7334B8 #B87334 #34B873
tetradic
#7334B8 #B83437 #79B834 #34B8B5
square
#7334B8 #B83437 #79B834 #34B8B5
split-complementary
#7334B8 #B8B534 #37B834
monochromatic
#371959 #552788 #7334B8 #9259D0 #B189DE

Accessibility & contrast

On white

7.21
#7334B8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#7334B8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7334B8
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334B8#FFFFFF#000000##FFFFFF
##7334B81.007.212.917.21
#FFFFFF7.211.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BC
Deuteranopia (green-blind)
#0056B5
Tritanopia (blue-blind)
#645473
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7334b8;
/* rgb */ color: rgb(115, 52, 184);
/* oklch */ color: oklch(48.1% 0.196 301.0);
Tailwind
colors: {
  custom: {
    50: '#a171ce',
    500: '#7334b8',
    950: '#000000',
  },
}
SCSS
$custom: #7334b8;
$custom-light: #a171ce;
$custom-dark: #000000;
JSON
{
  "hex": "#7334b8",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 184
  },
  "hsl": {
    "h": 268.636,
    "s": 55.932,
    "l": 46.275
  },
  "oklch": {
    "l": 0.48078,
    "c": 0.19605,
    "h": 301
  },
  "luminance": 0.09562
}

Semantic roles & 50–950 ramp

primary
#7334B8
secondary
#A6C880
accent
#DF4997
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7334B8

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

Preview Lab → · Contrast checker → · Palette generator →

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