#7336BA#7336BA

#7336BA is a mid, vivid violet. Relative luminance 0.098; OKLCH L 48.5% C 0.196 H 300.2°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#7336BA
RGBrgb(115, 54, 186)
HSLhsl(268, 55%, 47%)
HSVhsv(268, 71%, 73%)
CMYKcmyk(38.2%, 71%, 0%, 27.1%)
CIE-LABlab(37.53, 52.34, -59.32)
CIE-LCHlch(37.53, 79.11, 311.43°)
OKLaboklab(48.47% 0.0986 -0.1692)
OKLCHoklch(48.47% 0.196 300.2)
XYZxyz(17.2501, 9.8282, 47.4331)
Luminance0.0983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7336BA #7DBA36
analogous
#363BBA #7336BA #B536BA
triadic
#7336BA #BA7336 #36BA73
tetradic
#7336BA #BA363B #7DBA36 #36BAB5
square
#7336BA #BA363B #7DBA36 #36BAB5
split-complementary
#7336BA #BAB536 #3BBA36
monochromatic
#381A5B #56288B #7336BA #925DD0 #B28DDE

Accessibility & contrast

On white

7.08
#7336BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#7336BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7336BA
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7336BA#FFFFFF#000000##FFFFFF
##7336BA1.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058BE
Deuteranopia (green-blind)
#0057B7
Tritanopia (blue-blind)
#635674
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7336ba;
/* rgb */ color: rgb(115, 54, 186);
/* oklch */ color: oklch(48.5% 0.196 300.2);
Tailwind
colors: {
  custom: {
    50: '#a172d0',
    500: '#7336ba',
    950: '#000000',
  },
}
SCSS
$custom: #7336ba;
$custom-light: #a172d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7336ba",
  "rgb": {
    "r": 115,
    "g": 54,
    "b": 186
  },
  "hsl": {
    "h": 267.727,
    "s": 55,
    "l": 47.059
  },
  "oklch": {
    "l": 0.48473,
    "c": 0.19583,
    "h": 300.2
  },
  "luminance": 0.09828
}

Semantic roles & 50–950 ramp

primary
#7336BA
secondary
#A8C884
accent
#DE499A
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7336BA

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

Preview Lab → · Contrast checker → · Palette generator →

#7336BA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva