#7335BC#7335BC

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

Color values

HEX#7335BC
RGBrgb(115, 53, 188)
HSLhsl(268, 56%, 47%)
HSVhsv(268, 72%, 74%)
CMYKcmyk(38.8%, 71.8%, 0%, 26.3%)
CIE-LABlab(37.52, 53.31, -60.51)
CIE-LCHlch(37.52, 80.65, 311.38°)
OKLaboklab(48.51% 0.0992 -0.1727)
OKLCHoklch(48.51% 0.199 299.9)
XYZxyz(17.4182, 9.8217, 48.5453)
Luminance0.0982 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7335BC #7EBC35
analogous
#353ABC #7335BC #B735BC
triadic
#7335BC #BC7335 #35BC73
tetradic
#7335BC #BC353A #7EBC35 #35BCB7
square
#7335BC #BC353A #7EBC35 #35BCB7
split-complementary
#7335BC #BCB735 #3ABC35
monochromatic
#391A5D #56288C #7335BC #925DD1 #B28DDF

Accessibility & contrast

On white

7.08
#7335BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#7335BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7335BC
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7335BC#FFFFFF#000000##FFFFFF
##7335BC1.007.082.967.08
#FFFFFF7.081.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#625675
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7335bc;
/* rgb */ color: rgb(115, 53, 188);
/* oklch */ color: oklch(48.5% 0.199 299.9);
Tailwind
colors: {
  custom: {
    50: '#a172d1',
    500: '#7335bc',
    950: '#000000',
  },
}
SCSS
$custom: #7335bc;
$custom-light: #a172d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7335bc",
  "rgb": {
    "r": 115,
    "g": 53,
    "b": 188
  },
  "hsl": {
    "h": 267.556,
    "s": 56.017,
    "l": 47.255
  },
  "oklch": {
    "l": 0.48514,
    "c": 0.19918,
    "h": 299.9
  },
  "luminance": 0.09822
}

Semantic roles & 50–950 ramp

primary
#7335BC
secondary
#A9C984
accent
#DF489A
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7335BC

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

Preview Lab → · Contrast checker → · Palette generator →

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