#8335B3#8335B3

#8335B3 is a mid, vivid violet. Relative luminance 0.106; OKLCH L 49.8% C 0.193 H 309.4°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#8335B3
RGBrgb(131, 53, 179)
HSLhsl(277, 54%, 45%)
HSVhsv(277, 70%, 70%)
CMYKcmyk(26.8%, 70.4%, 0%, 29.8%)
CIE-LABlab(38.94, 54.33, -52.80)
CIE-LCHlch(38.94, 75.76, 315.82°)
OKLaboklab(49.77% 0.1228 -0.1495)
OKLCHoklch(49.77% 0.193 309.4)
XYZxyz(18.7682, 10.6265, 43.7015)
Luminance0.1063 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B3 #65B335
analogous
#4435B3 #8335B3 #B335A4
triadic
#8335B3 #B38335 #35B383
tetradic
#8335B3 #B34435 #65B335 #35A4B3
square
#8335B3 #B34435 #65B335 #35A4B3
split-complementary
#8335B3 #A4B335 #35B344
monochromatic
#3E1955 #602784 #8335B3 #A158CD #BB87DB

Accessibility & contrast

On white

6.72
#8335B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#8335B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335B3
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B3#FFFFFF#000000##FFFFFF
##8335B31.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B7
Deuteranopia (green-blind)
#1B5DB0
Tritanopia (blue-blind)
#7C5170
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #8335b3;
/* rgb */ color: rgb(131, 53, 179);
/* oklch */ color: oklch(49.8% 0.193 309.4);
Tailwind
colors: {
  custom: {
    50: '#ab73ca',
    500: '#8335b3',
    950: '#000000',
  },
}
SCSS
$custom: #8335b3;
$custom-light: #ab73ca;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b3",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 179
  },
  "hsl": {
    "h": 277.143,
    "s": 54.31,
    "l": 45.49
  },
  "oklch": {
    "l": 0.49767,
    "c": 0.19341,
    "h": 309.4
  },
  "luminance": 0.10626
}

Semantic roles & 50–950 ramp

primary
#8335B3
secondary
#99C57F
accent
#DE4A82
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8335B3

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

Preview Lab → · Contrast checker → · Palette generator →

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