#8330B2#8330B2

#8330B2 is a mid, vivid violet. Relative luminance 0.102; OKLCH L 49.2% C 0.198 H 310.2°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#8330B2
RGBrgb(131, 48, 178)
HSLhsl(278, 58%, 44%)
HSVhsv(278, 73%, 70%)
CMYKcmyk(26.4%, 73%, 0%, 30.2%)
CIE-LABlab(38.12, 56.25, -53.54)
CIE-LCHlch(38.12, 77.66, 316.41°)
OKLaboklab(49.16% 0.128 -0.1516)
OKLCHoklch(49.16% 0.198 310.2)
XYZxyz(18.4513, 10.1540, 43.0988)
Luminance0.1015 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8330B2 #5FB230
analogous
#4230B2 #8330B2 #B230A0
triadic
#8330B2 #B28330 #30B283
tetradic
#8330B2 #B24230 #5FB230 #30A0B2
square
#8330B2 #B24230 #5FB230 #30A0B2
split-complementary
#8330B2 #A0B230 #30B242
monochromatic
#3C1652 #602382 #8330B2 #A150D0 #BB80DD

Accessibility & contrast

On white

6.93
#8330B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#8330B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8330B2
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8330B2#FFFFFF#000000##FFFFFF
##8330B21.006.933.036.93
#FFFFFF6.931.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B6
Deuteranopia (green-blind)
#155BAF
Tritanopia (blue-blind)
#7C4E6E
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #8330b2;
/* rgb */ color: rgb(131, 48, 178);
/* oklch */ color: oklch(49.2% 0.198 310.2);
Tailwind
colors: {
  custom: {
    50: '#ab70ca',
    500: '#8330b2',
    950: '#000000',
  },
}
SCSS
$custom: #8330b2;
$custom-light: #ab70ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8330b2",
  "rgb": {
    "r": 131,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 278.308,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.49157,
    "c": 0.19843,
    "h": 310.2
  },
  "luminance": 0.10154
}

Semantic roles & 50–950 ramp

primary
#8330B2
secondary
#94C678
accent
#E1477F
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8330B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8330B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva