#7334BB#7334BB

#7334BB is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.3% C 0.199 H 300.2°. Best body text is #FFFFFF at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#7334BB
RGBrgb(115, 52, 187)
HSLhsl(268, 56%, 47%)
HSVhsv(268, 72%, 73%)
CMYKcmyk(38.5%, 72.2%, 0%, 26.7%)
CIE-LABlab(37.28, 53.53, -60.32)
CIE-LCHlch(37.28, 80.65, 311.59°)
OKLaboklab(48.32% 0.1004 -0.1721)
OKLCHoklch(48.32% 0.199 300.2)
XYZxyz(17.2656, 9.6885, 47.9645)
Luminance0.0969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7334BB #7CBB34
analogous
#3439BB #7334BB #B734BB
triadic
#7334BB #BB7334 #34BB73
tetradic
#7334BB #BB3439 #7CBB34 #34BBB7
square
#7334BB #BB3439 #7CBB34 #34BBB7
split-complementary
#7334BB #BBB734 #39BB34
monochromatic
#38195B #56278B #7334BB #925BD1 #B28BDF

Accessibility & contrast

On white

7.15
#7334BB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.94
#7334BB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7334BB
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7334BB#FFFFFF#000000##FFFFFF
##7334BB1.007.152.947.15
#FFFFFF7.151.0021.001.00
#0000002.9421.001.0021.00
##FFFFFF7.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057BF
Deuteranopia (green-blind)
#0057B8
Tritanopia (blue-blind)
#635574
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7334bb;
/* rgb */ color: rgb(115, 52, 187);
/* oklch */ color: oklch(48.3% 0.199 300.2);
Tailwind
colors: {
  custom: {
    50: '#a171d0',
    500: '#7334bb',
    950: '#000000',
  },
}
SCSS
$custom: #7334bb;
$custom-light: #a171d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7334bb",
  "rgb": {
    "r": 115,
    "g": 52,
    "b": 187
  },
  "hsl": {
    "h": 268,
    "s": 56.485,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48317,
    "c": 0.19926,
    "h": 300.2
  },
  "luminance": 0.09689
}

Semantic roles & 50–950 ramp

primary
#7334BB
secondary
#A8C982
accent
#E04899
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7334BB

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

Preview Lab → · Contrast checker → · Palette generator →

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