#8B5FF2#8B5FF2

#8B5FF2 is a mid, highly saturated violet. Relative luminance 0.201; OKLCH L 60.7% C 0.210 H 292.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8B5FF2
RGBrgb(139, 95, 242)
HSLhsl(258, 85%, 66%)
HSVhsv(258, 61%, 95%)
CMYKcmyk(42.6%, 60.7%, 0%, 5.1%)
CIE-LABlab(51.93, 50.48, -67.93)
CIE-LCHlch(51.93, 84.63, 306.62°)
OKLaboklab(60.71% 0.0817 -0.1938)
OKLCHoklch(60.71% 0.21 292.8)
XYZxyz(30.7623, 20.0833, 86.2428)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B5FF2 #C6F25F
analogous
#5F7CF2 #8B5FF2 #D45FF2
triadic
#8B5FF2 #F28B5F #5FF28B
tetradic
#8B5FF2 #F25F7C #C6F25F #5FF2D4
square
#8B5FF2 #F25F7C #C6F25F #5FF2D4
split-complementary
#8B5FF2 #F2D45F #7CF25F
monochromatic
#4710C6 #6226ED #8B5FF2 #B498F7 #DDD0FB

Accessibility & contrast

On white

4.19
#8B5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#8B5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B5FF2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B5FF2#FFFFFF#000000##000000
##8B5FF21.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#0079EF
Tritanopia (blue-blind)
#6E80A0
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8b5ff2;
/* rgb */ color: rgb(139, 95, 242);
/* oklch */ color: oklch(60.7% 0.210 292.8);
Tailwind
colors: {
  custom: {
    50: '#b38ef7',
    500: '#8b5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #8b5ff2;
$custom-light: #b38ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b5ff2",
  "rgb": {
    "r": 139,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 257.959,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.60712,
    "c": 0.21032,
    "h": 292.8
  },
  "luminance": 0.20084
}

Semantic roles & 50–950 ramp

primary
#8B5FF2
secondary
#E0EFBE
accent
#E1049F
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

#8B5FF2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva