#7334B7#7334B7

#7334B7 is a mid, vivid violet. Relative luminance 0.095; OKLCH L 48.0% C 0.195 H 301.2°. Best body text is #FFFFFF at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#7334B7
RGBrgb(115, 52, 183)
HSLhsl(269, 56%, 46%)
HSVhsv(269, 72%, 72%)
CMYKcmyk(37.2%, 71.6%, 0%, 28.2%)
CIE-LABlab(36.97, 52.54, -58.47)
CIE-LCHlch(36.97, 78.61, 311.95°)
OKLaboklab(48% 0.1011 -0.1667)
OKLCHoklch(48% 0.195 301.2)
XYZxyz(16.8434, 9.5196, 45.7407)
Luminance0.0952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334B7 #78B734
analogous
#3436B7 #7334B7 #B434B7
triadic
#7334B7 #B77334 #34B773
tetradic
#7334B7 #B73436 #78B734 #34B7B4
square
#7334B7 #B73436 #78B734 #34B7B4
split-complementary
#7334B7 #B7B434 #36B734
monochromatic
#371958 #552687 #7334B7 #9259D0 #B188DD

Accessibility & contrast

On white

7.23
#7334B7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#7334B7 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7334B7
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334B7#FFFFFF#000000##FFFFFF
##7334B71.007.232.907.23
#FFFFFF7.231.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056BB
Deuteranopia (green-blind)
#0056B4
Tritanopia (blue-blind)
#645472
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #7334b7;
/* rgb */ color: rgb(115, 52, 183);
/* oklch */ color: oklch(48.0% 0.195 301.2);
Tailwind
colors: {
  custom: {
    50: '#a171cd',
    500: '#7334b7',
    950: '#000000',
  },
}
SCSS
$custom: #7334b7;
$custom-light: #a171cd;
$custom-dark: #000000;
JSON
{
  "hex": "#7334b7",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 183
  },
  "hsl": {
    "h": 268.855,
    "s": 55.745,
    "l": 46.078
  },
  "oklch": {
    "l": 0.47999,
    "c": 0.19497,
    "h": 301.2
  },
  "luminance": 0.0952
}

Semantic roles & 50–950 ramp

primary
#7334B7
secondary
#A5C780
accent
#DF4997
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #7334B7

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

Preview Lab → · Contrast checker → · Palette generator →

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