#7330A2#7330A2

#7330A2 is a mid, vivid violet. Relative luminance 0.084; OKLCH L 45.9% C 0.178 H 307.7°. Best body text is #FFFFFF at 7.86:1 contrast (WCAG AA passes).

Color values

HEX#7330A2
RGBrgb(115, 48, 162)
HSLhsl(275, 54%, 41%)
HSVhsv(275, 70%, 64%)
CMYKcmyk(29%, 70.4%, 0%, 36.5%)
CIE-LABlab(34.74, 49.37, -49.55)
CIE-LCHlch(34.74, 69.95, 314.90°)
OKLaboklab(45.92% 0.1086 -0.1405)
OKLCHoklch(45.92% 0.178 307.7)
XYZxyz(14.6474, 8.3676, 35.0189)
Luminance0.0837 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7330A2 #5FA230
analogous
#3A30A2 #7330A2 #A23098
triadic
#7330A2 #A27330 #30A273
tetradic
#7330A2 #A23A30 #5FA230 #3098A2
square
#7330A2 #A23A30 #5FA230 #3098A2
split-complementary
#7330A2 #98A230 #30A23A
monochromatic
#301444 #512273 #7330A2 #9347C8 #AF76D6

Accessibility & contrast

On white

7.86
#7330A2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.67
#7330A2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7330A2
7.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7330A2#FFFFFF#000000##FFFFFF
##7330A21.007.862.677.86
#FFFFFF7.861.0021.001.00
#0000002.6721.001.0021.00
##FFFFFF7.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FA5
Deuteranopia (green-blind)
#1252A0
Tritanopia (blue-blind)
#6B4965
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #7330a2;
/* rgb */ color: rgb(115, 48, 162);
/* oklch */ color: oklch(45.9% 0.178 307.7);
Tailwind
colors: {
  custom: {
    50: '#9f6ebe',
    500: '#7330a2',
    950: '#000000',
  },
}
SCSS
$custom: #7330a2;
$custom-light: #9f6ebe;
$custom-dark: #000000;
JSON
{
  "hex": "#7330a2",
  "rgb": {
    "r": 115,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 275.263,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.45919,
    "c": 0.17757,
    "h": 307.7
  },
  "luminance": 0.08367
}

Semantic roles & 50–950 ramp

primary
#7330A2
secondary
#90BE6F
accent
#DE4A87
background
#FAF6FB
surface
#F4ECF7
border
#CEC7D0
text
#0F0712
muted
#7F7A81

Preview Lab

Preview with #7330A2

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

Preview Lab → · Contrast checker → · Palette generator →

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