#8357F2#8357F2

#8357F2 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.220 H 291.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8357F2
RGBrgb(131, 87, 242)
HSLhsl(257, 86%, 65%)
HSVhsv(257, 64%, 95%)
CMYKcmyk(45.9%, 64%, 0%, 5.1%)
CIE-LABlab(49.56, 53.22, -71.81)
CIE-LCHlch(49.56, 89.38, 306.54°)
OKLaboklab(58.81% 0.0795 -0.2055)
OKLCHoklch(58.81% 0.22 291.2)
XYZxyz(28.7908, 18.0515, 85.9545)
Luminance0.1805 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8357F2 #C6F257
analogous
#5779F2 #8357F2 #D057F2
triadic
#8357F2 #F28357 #57F283
tetradic
#8357F2 #F25779 #C6F257 #57F2D0
square
#8357F2 #F25779 #C6F257 #57F2D0
split-complementary
#8357F2 #F2D057 #79F257
monochromatic
#410FC0 #591EEE #8357F2 #AD90F6 #D7C9FB

Accessibility & contrast

On white

4.55
#8357F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#8357F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8357F2
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8357F2#FFFFFF#000000##000000
##8357F21.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#617C9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8357f2;
/* rgb */ color: rgb(131, 87, 242);
/* oklch */ color: oklch(58.8% 0.220 291.2);
Tailwind
colors: {
  custom: {
    50: '#af89f7',
    500: '#8357f2',
    950: '#000000',
  },
}
SCSS
$custom: #8357f2;
$custom-light: #af89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8357f2",
  "rgb": {
    "r": 131,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 257.032,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58808,
    "c": 0.22033,
    "h": 291.2
  },
  "luminance": 0.18052
}

Semantic roles & 50–950 ramp

primary
#8357F2
secondary
#DEEDB8
accent
#E203A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8357F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8357F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva