#7335BA#7335BA

#7335BA is a mid, vivid violet. Relative luminance 0.097; OKLCH L 48.4% C 0.197 H 300.4°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#7335BA
RGBrgb(115, 53, 186)
HSLhsl(268, 56%, 47%)
HSVhsv(268, 72%, 73%)
CMYKcmyk(38.2%, 71.5%, 0%, 27.1%)
CIE-LABlab(37.36, 52.82, -59.59)
CIE-LCHlch(37.36, 79.63, 311.55°)
OKLaboklab(48.35% 0.0996 -0.17)
OKLCHoklch(48.35% 0.197 300.4)
XYZxyz(17.2041, 9.7361, 47.4177)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335BA #7CBA35
analogous
#3539BA #7335BA #B635BA
triadic
#7335BA #BA7335 #35BA73
tetradic
#7335BA #BA3539 #7CBA35 #35BAB6
square
#7335BA #BA3539 #7CBA35 #35BAB6
split-complementary
#7335BA #BAB635 #39BA35
monochromatic
#381A5B #56278A #7335BA #925CD0 #B28BDE

Accessibility & contrast

On white

7.13
#7335BA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7335BA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7335BA
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335BA#FFFFFF#000000##FFFFFF
##7335BA1.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #7335ba;
/* rgb */ color: rgb(115, 53, 186);
/* oklch */ color: oklch(48.4% 0.197 300.4);
Tailwind
colors: {
  custom: {
    50: '#a172d0',
    500: '#7335ba',
    950: '#000000',
  },
}
SCSS
$custom: #7335ba;
$custom-light: #a172d0;
$custom-dark: #000000;
JSON
{
  "hex": "#7335ba",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 186
  },
  "hsl": {
    "h": 267.97,
    "s": 55.649,
    "l": 46.863
  },
  "oklch": {
    "l": 0.48354,
    "c": 0.19702,
    "h": 300.4
  },
  "luminance": 0.09736
}

Semantic roles & 50–950 ramp

primary
#7335BA
secondary
#A8C882
accent
#DF4999
background
#FAF7FC
surface
#F4EDF9
border
#CEC8D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #7335BA

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

Preview Lab → · Contrast checker → · Palette generator →

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