#8F5FEB#8F5FEB

#8F5FEB is a mid, highly saturated violet. Relative luminance 0.200; OKLCH L 60.6% C 0.202 H 295.5°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#8F5FEB
RGBrgb(143, 95, 235)
HSLhsl(261, 78%, 65%)
HSVhsv(261, 60%, 92%)
CMYKcmyk(39.1%, 59.6%, 0%, 7.8%)
CIE-LABlab(51.86, 49.47, -64.10)
CIE-LCHlch(51.86, 80.97, 307.66°)
OKLaboklab(60.61% 0.0872 -0.1824)
OKLCHoklch(60.61% 0.202 295.5)
XYZxyz(30.4114, 20.0216, 80.8434)
Luminance0.2002 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FEB #BBEB5F
analogous
#5F75EB #8F5FEB #D55FEB
triadic
#8F5FEB #EB8F5F #5FEB8F
tetradic
#8F5FEB #EB5F75 #BBEB5F #5FEBD5
square
#8F5FEB #EB5F75 #BBEB5F #5FEBD5
split-complementary
#8F5FEB #EBD55F #75EB5F
monochromatic
#4E17B9 #6929E4 #8F5FEB #B595F2 #DBCCF9

Accessibility & contrast

On white

4.20
#8F5FEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#8F5FEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FEB
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FEB#FFFFFF#000000##000000
##8F5FEB1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#197AE8
Tritanopia (blue-blind)
#787E9C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5feb;
/* rgb */ color: rgb(143, 95, 235);
/* oklch */ color: oklch(60.6% 0.202 295.5);
Tailwind
colors: {
  custom: {
    50: '#b58ef2',
    500: '#8f5feb',
    950: '#000000',
  },
}
SCSS
$custom: #8f5feb;
$custom-light: #b58ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5feb",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 235
  },
  "hsl": {
    "h": 260.571,
    "s": 77.778,
    "l": 64.706
  },
  "oklch": {
    "l": 0.60606,
    "c": 0.2022,
    "h": 295.5
  },
  "luminance": 0.20022
}

Semantic roles & 50–950 ramp

primary
#8F5FEB
secondary
#DAEBBB
accent
#DA0B93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5FEB

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

Preview Lab → · Contrast checker → · Palette generator →

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