#7334AF#7334AF

#7334AF is a mid, vivid violet. Relative luminance 0.092; OKLCH L 47.4% C 0.186 H 303.4°. Best body text is #FFFFFF at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#7334AF
RGBrgb(115, 52, 175)
HSLhsl(271, 54%, 45%)
HSVhsv(271, 70%, 69%)
CMYKcmyk(34.3%, 70.3%, 0%, 31.4%)
CIE-LABlab(36.36, 50.59, -54.71)
CIE-LCHlch(36.36, 74.51, 312.76°)
OKLaboklab(47.38% 0.1025 -0.1556)
OKLCHoklch(47.38% 0.186 303.4)
XYZxyz(16.0343, 9.1960, 41.4794)
Luminance0.0920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334AF #70AF34
analogous
#3634AF #7334AF #AF34AE
triadic
#7334AF #AF7334 #34AF73
tetradic
#7334AF #AF3634 #70AF34 #34AEAF
square
#7334AF #AF3634 #70AF34 #34AEAF
split-complementary
#7334AF #AEAF34 #34AF36
monochromatic
#351851 #542680 #7334AF #9254CC #B083DA

Accessibility & contrast

On white

7.40
#7334AF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#7334AF on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7334AF
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334AF#FFFFFF#000000##FFFFFF
##7334AF1.007.402.847.40
#FFFFFF7.401.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B3
Deuteranopia (green-blind)
#0055AC
Tritanopia (blue-blind)
#67516E
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7334af;
/* rgb */ color: rgb(115, 52, 175);
/* oklch */ color: oklch(47.4% 0.186 303.4);
Tailwind
colors: {
  custom: {
    50: '#a071c8',
    500: '#7334af',
    950: '#000000',
  },
}
SCSS
$custom: #7334af;
$custom-light: #a071c8;
$custom-dark: #000000;
JSON
{
  "hex": "#7334af",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 175
  },
  "hsl": {
    "h": 270.732,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47376,
    "c": 0.18636,
    "h": 303.4
  },
  "luminance": 0.09196
}

Semantic roles & 50–950 ramp

primary
#7334AF
secondary
#9FC47B
accent
#DE4A92
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7334AF

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

Preview Lab → · Contrast checker → · Palette generator →

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