#7330B3#7330B3

#7330B3 is a mid, vivid violet. Relative luminance 0.090; OKLCH L 47.2% C 0.195 H 302.8°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#7330B3
RGBrgb(115, 48, 179)
HSLhsl(271, 58%, 45%)
HSVhsv(271, 73%, 70%)
CMYKcmyk(35.8%, 73.2%, 0%, 29.8%)
CIE-LABlab(36.01, 53.39, -57.65)
CIE-LCHlch(36.01, 78.58, 312.80°)
OKLaboklab(47.22% 0.1058 -0.1643)
OKLCHoklch(47.22% 0.195 302.8)
XYZxyz(16.2619, 9.0134, 43.5221)
Luminance0.0901 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7330B3 #70B330
analogous
#3230B3 #7330B3 #B330B2
triadic
#7330B3 #B37330 #30B373
tetradic
#7330B3 #B33230 #70B330 #30B2B3
square
#7330B3 #B33230 #70B330 #30B2B3
split-complementary
#7330B3 #B2B330 #30B332
monochromatic
#351652 #542383 #7330B3 #9250D0 #B080DD

Accessibility & contrast

On white

7.49
#7330B3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#7330B3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7330B3
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7330B3#FFFFFF#000000##FFFFFF
##7330B31.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054B7
Deuteranopia (green-blind)
#0054B0
Tritanopia (blue-blind)
#66506F
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #7330b3;
/* rgb */ color: rgb(115, 48, 179);
/* oklch */ color: oklch(47.2% 0.195 302.8);
Tailwind
colors: {
  custom: {
    50: '#a16fcb',
    500: '#7330b3',
    950: '#000000',
  },
}
SCSS
$custom: #7330b3;
$custom-light: #a16fcb;
$custom-dark: #000000;
JSON
{
  "hex": "#7330b3",
  "rgb": {
    "r": 115,
    "g": 48,
    "b": 179
  },
  "hsl": {
    "h": 270.687,
    "s": 57.709,
    "l": 44.51
  },
  "oklch": {
    "l": 0.47224,
    "c": 0.1954,
    "h": 302.8
  },
  "luminance": 0.09013
}

Semantic roles & 50–950 ramp

primary
#7330B3
secondary
#9FC679
accent
#E14792
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0813
muted
#7F7B82

Preview Lab

Preview with #7330B3

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

Preview Lab → · Contrast checker → · Palette generator →

#7330B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva