#8335D3#8335D3

#8335D3 is a mid, highly saturated violet. Relative luminance 0.121; OKLCH L 52.2% C 0.226 H 301.2°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8335D3
RGBrgb(131, 53, 211)
HSLhsl(270, 64%, 52%)
HSVhsv(270, 75%, 83%)
CMYKcmyk(37.9%, 74.9%, 0%, 17.3%)
CIE-LABlab(41.33, 61.66, -67.60)
CIE-LCHlch(41.33, 91.50, 312.37°)
OKLaboklab(52.21% 0.1169 -0.193)
OKLCHoklch(52.21% 0.226 301.2)
XYZxyz(22.3882, 12.0745, 62.7665)
Luminance0.1207 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8335D3 #85D335
analogous
#3536D3 #8335D3 #D235D3
triadic
#8335D3 #D38335 #35D383
tetradic
#8335D3 #D33536 #85D335 #35D3D2
square
#8335D3 #D33536 #85D335 #35D3D2
split-complementary
#8335D3 #D3D235 #36D335
monochromatic
#461974 #6524A7 #8335D3 #A267DE #C19AE9

Accessibility & contrast

On white

6.15
#8335D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#8335D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8335D3
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8335D3#FFFFFF#000000##FFFFFF
##8335D31.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061D7
Deuteranopia (green-blind)
#0061D0
Tritanopia (blue-blind)
#715E82
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #8335d3;
/* rgb */ color: rgb(131, 53, 211);
/* oklch */ color: oklch(52.2% 0.226 301.2);
Tailwind
colors: {
  custom: {
    50: '#ae74e2',
    500: '#8335d3',
    950: '#000000',
  },
}
SCSS
$custom: #8335d3;
$custom-light: #ae74e2;
$custom-dark: #000000;
JSON
{
  "hex": "#8335d3",
  "rgb": {
    "r": 131,
    "g": 53,
    "b": 211
  },
  "hsl": {
    "h": 269.62,
    "s": 64.228,
    "l": 51.765
  },
  "oklch": {
    "l": 0.52208,
    "c": 0.22562,
    "h": 301.2
  },
  "luminance": 0.12075
}

Semantic roles & 50–950 ramp

primary
#8335D3
secondary
#B2D58F
accent
#E74195
background
#FBF7FE
surface
#F6EDFC
border
#D0C8D5
text
#110915
muted
#807B84

Preview Lab

Preview with #8335D3

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

Preview Lab → · Contrast checker → · Palette generator →

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