#7334B3#7334B3

#7334B3 is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.7% C 0.191 H 302.3°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7334B3
RGBrgb(115, 52, 179)
HSLhsl(270, 55%, 45%)
HSVhsv(270, 71%, 70%)
CMYKcmyk(35.8%, 70.9%, 0%, 29.8%)
CIE-LABlab(36.66, 51.56, -56.60)
CIE-LCHlch(36.66, 76.56, 312.33°)
OKLaboklab(47.69% 0.1019 -0.1612)
OKLCHoklch(47.69% 0.191 302.3)
XYZxyz(16.4330, 9.3555, 43.5791)
Luminance0.0935 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334B3 #74B334
analogous
#3434B3 #7334B3 #B234B3
triadic
#7334B3 #B37334 #34B373
tetradic
#7334B3 #B33434 #74B334 #34B3B2
square
#7334B3 #B33434 #74B334 #34B3B2
split-complementary
#7334B3 #B3B234 #34B334
monochromatic
#361854 #552684 #7334B3 #9256CE #B086DC

Accessibility & contrast

On white

7.31
#7334B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7334B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7334B3
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334B3#FFFFFF#000000##FFFFFF
##7334B31.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B7
Deuteranopia (green-blind)
#0056B0
Tritanopia (blue-blind)
#665270
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7334b3;
/* rgb */ color: rgb(115, 52, 179);
/* oklch */ color: oklch(47.7% 0.191 302.3);
Tailwind
colors: {
  custom: {
    50: '#a171cb',
    500: '#7334b3',
    950: '#000000',
  },
}
SCSS
$custom: #7334b3;
$custom-light: #a171cb;
$custom-dark: #000000;
JSON
{
  "hex": "#7334b3",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 179
  },
  "hsl": {
    "h": 269.764,
    "s": 54.978,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47685,
    "c": 0.19067,
    "h": 302.3
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#7334B3
secondary
#A2C57D
accent
#DE4994
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7334B3

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

Preview Lab → · Contrast checker → · Palette generator →

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