#7334AC#7334AC

#7334AC is a mid, vivid violet. Relative luminance 0.091; OKLCH L 47.1% C 0.183 H 304.2°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#7334AC
RGBrgb(115, 52, 172)
HSLhsl(272, 54%, 44%)
HSVhsv(272, 70%, 67%)
CMYKcmyk(33.1%, 69.8%, 0%, 32.5%)
CIE-LABlab(36.14, 49.86, -53.28)
CIE-LCHlch(36.14, 72.98, 313.10°)
OKLaboklab(47.15% 0.1029 -0.1514)
OKLCHoklch(47.15% 0.183 304.2)
XYZxyz(15.7429, 9.0794, 39.9449)
Luminance0.0908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334AC #6DAC34
analogous
#3734AC #7334AC #AC34A9
triadic
#7334AC #AC7334 #34AC73
tetradic
#7334AC #AC3734 #6DAC34 #34A9AC
square
#7334AC #AC3734 #6DAC34 #34A9AC
split-complementary
#7334AC #A9AC34 #34AC37
monochromatic
#34184E #54267D #7334AC #9252CB #AF81D9

Accessibility & contrast

On white

7.46
#7334AC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#7334AC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7334AC
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334AC#FFFFFF#000000##FFFFFF
##7334AC1.007.462.827.46
#FFFFFF7.461.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053B0
Deuteranopia (green-blind)
#0055A9
Tritanopia (blue-blind)
#68506C
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7334ac;
/* rgb */ color: rgb(115, 52, 172);
/* oklch */ color: oklch(47.1% 0.183 304.2);
Tailwind
colors: {
  custom: {
    50: '#a070c5',
    500: '#7334ac',
    950: '#000000',
  },
}
SCSS
$custom: #7334ac;
$custom-light: #a070c5;
$custom-dark: #000000;
JSON
{
  "hex": "#7334ac",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 172
  },
  "hsl": {
    "h": 271.5,
    "s": 53.571,
    "l": 43.922
  },
  "oklch": {
    "l": 0.47148,
    "c": 0.18312,
    "h": 304.2
  },
  "luminance": 0.09079
}

Semantic roles & 50–950 ramp

primary
#7334AC
secondary
#9CC279
accent
#DD4B90
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7334AC

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

Preview Lab → · Contrast checker → · Palette generator →

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