#8354EF#8354EF

#8354EF is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.221 H 292.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8354EF
RGBrgb(131, 84, 239)
HSLhsl(258, 83%, 63%)
HSVhsv(258, 65%, 94%)
CMYKcmyk(45.2%, 64.9%, 0%, 6.3%)
CIE-LABlab(48.76, 53.99, -71.43)
CIE-LCHlch(48.76, 89.54, 307.08°)
OKLaboklab(58.16% 0.0828 -0.2044)
OKLCHoklch(58.16% 0.221 292.1)
XYZxyz(28.1061, 17.3970, 83.5217)
Luminance0.1740 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8354EF #C0EF54
analogous
#5472EF #8354EF #D154EF
triadic
#8354EF #EF8354 #54EF83
tetradic
#8354EF #EF5472 #C0EF54 #54EFD1
square
#8354EF #EF5472 #C0EF54 #54EFD1
split-complementary
#8354EF #EFD154 #72EF54
monochromatic
#4411B7 #5A1CEA #8354EF #AC8CF4 #D4C4F9

Accessibility & contrast

On white

4.69
#8354EF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8354EF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8354EF
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8354EF#FFFFFF#000000##FFFFFF
##8354EF1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076F4
Deuteranopia (green-blind)
#0071EC
Tritanopia (blue-blind)
#63799A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8354ef;
/* rgb */ color: rgb(131, 84, 239);
/* oklch */ color: oklch(58.2% 0.221 292.1);
Tailwind
colors: {
  custom: {
    50: '#af87f5',
    500: '#8354ef',
    950: '#000000',
  },
}
SCSS
$custom: #8354ef;
$custom-light: #af87f5;
$custom-dark: #000000;
JSON
{
  "hex": "#8354ef",
  "rgb": {
    "r": 131,
    "g": 84,
    "b": 239
  },
  "hsl": {
    "h": 258.194,
    "s": 82.888,
    "l": 63.333
  },
  "oklch": {
    "l": 0.58161,
    "c": 0.22053,
    "h": 292.1
  },
  "luminance": 0.17398
}

Semantic roles & 50–950 ramp

primary
#8354EF
secondary
#DAEBB4
accent
#DF069D
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8354EF

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

Preview Lab → · Contrast checker → · Palette generator →

#8354EF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva