#8335B1#8335B1

#8335B1 is a mid, vivid violet. Relative luminance 0.105; OKLCH L 49.6% C 0.191 H 310.0°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#8335B1
RGBrgb(131, 53, 177)
HSLhsl(278, 54%, 45%)
HSVhsv(278, 70%, 69%)
CMYKcmyk(26%, 70.1%, 0%, 30.6%)
CIE-LABlab(38.81, 53.89, -51.84)
CIE-LCHlch(38.81, 74.77, 316.11°)
OKLaboklab(49.62% 0.123 -0.1466)
OKLCHoklch(49.62% 0.191 310)
XYZxyz(18.5674, 10.5462, 42.6440)
Luminance0.1055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335B1 #63B135
analogous
#4535B1 #8335B1 #B135A1
triadic
#8335B1 #B18335 #35B183
tetradic
#8335B1 #B14535 #63B135 #35A1B1
square
#8335B1 #B14535 #63B135 #35A1B1
split-complementary
#8335B1 #A1B135 #35B145
monochromatic
#3D1953 #602782 #8335B1 #A157CD #BB86DB

Accessibility & contrast

On white

6.75
#8335B1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#8335B1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335B1
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335B1#FFFFFF#000000##FFFFFF
##8335B11.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058B5
Deuteranopia (green-blind)
#1F5DAE
Tritanopia (blue-blind)
#7D506F
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #8335b1;
/* rgb */ color: rgb(131, 53, 177);
/* oklch */ color: oklch(49.6% 0.191 310.0);
Tailwind
colors: {
  custom: {
    50: '#ab73c9',
    500: '#8335b1',
    950: '#000000',
  },
}
SCSS
$custom: #8335b1;
$custom-light: #ab73c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8335b1",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 177
  },
  "hsl": {
    "h": 277.742,
    "s": 53.913,
    "l": 45.098
  },
  "oklch": {
    "l": 0.49624,
    "c": 0.1914,
    "h": 310
  },
  "luminance": 0.10546
}

Semantic roles & 50–950 ramp

primary
#8335B1
secondary
#98C47D
accent
#DD4B81
background
#FAF7FC
surface
#F5EDF8
border
#CFC8D1
text
#110813
muted
#807B82

Preview Lab

Preview with #8335B1

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

Preview Lab → · Contrast checker → · Palette generator →

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