#8335D2#8335D2

#8335D2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.1% C 0.225 H 301.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8335D2
RGBrgb(131, 53, 210)
HSLhsl(270, 64%, 52%)
HSVhsv(270, 75%, 82%)
CMYKcmyk(37.6%, 74.8%, 0%, 17.6%)
CIE-LABlab(41.26, 61.43, -67.15)
CIE-LCHlch(41.26, 91.01, 312.45°)
OKLaboklab(52.13% 0.1171 -0.1917)
OKLCHoklch(52.13% 0.225 301.4)
XYZxyz(22.2632, 12.0245, 62.1083)
Luminance0.1202 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335D2 #84D235
analogous
#3536D2 #8335D2 #D235D2
triadic
#8335D2 #D28335 #35D283
tetradic
#8335D2 #D23536 #84D235 #35D2D2
square
#8335D2 #D23536 #84D235 #35D2D2
split-complementary
#8335D2 #D2D235 #36D235
monochromatic
#461A73 #6425A5 #8335D2 #A267DD #C099E8

Accessibility & contrast

On white

6.17
#8335D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#8335D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335D2
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335D2#FFFFFF#000000##FFFFFF
##8335D21.006.173.416.17
#FFFFFF6.171.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060D6
Deuteranopia (green-blind)
#0060CF
Tritanopia (blue-blind)
#725D82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8335d2;
/* rgb */ color: rgb(131, 53, 210);
/* oklch */ color: oklch(52.1% 0.225 301.4);
Tailwind
colors: {
  custom: {
    50: '#ae74e1',
    500: '#8335d2',
    950: '#000000',
  },
}
SCSS
$custom: #8335d2;
$custom-light: #ae74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#8335d2",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 210
  },
  "hsl": {
    "h": 269.809,
    "s": 63.563,
    "l": 51.569
  },
  "oklch": {
    "l": 0.52128,
    "c": 0.22461,
    "h": 301.4
  },
  "luminance": 0.12025
}

Semantic roles & 50–950 ramp

primary
#8335D2
secondary
#B2D48F
accent
#E74194
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110915
muted
#807B83

Preview Lab

Preview with #8335D2

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

Preview Lab → · Contrast checker → · Palette generator →

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