#8F5EF2#8F5EF2

#8F5EF2 is a mid, highly saturated violet. Relative luminance 0.203; OKLCH L 60.9% C 0.212 H 294.5°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8F5EF2
RGBrgb(143, 94, 242)
HSLhsl(260, 85%, 66%)
HSVhsv(260, 61%, 95%)
CMYKcmyk(40.9%, 61.2%, 0%, 5.1%)
CIE-LABlab(52.12, 51.84, -67.59)
CIE-LCHlch(52.12, 85.18, 307.48°)
OKLaboklab(60.95% 0.0879 -0.1927)
OKLCHoklch(60.95% 0.212 294.5)
XYZxyz(31.3531, 20.2551, 86.2449)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5EF2 #C1F25E
analogous
#5E77F2 #8F5EF2 #D95EF2
triadic
#8F5EF2 #F28F5E #5EF28F
tetradic
#8F5EF2 #F25E77 #C1F25E #5EF2D9
square
#8F5EF2 #F25E77 #C1F25E #5EF2D9
split-complementary
#8F5EF2 #F2D95E #77F25E
monochromatic
#4C10C6 #6825ED #8F5EF2 #B697F7 #DECFFB

Accessibility & contrast

On white

4.16
#8F5EF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#8F5EF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5EF2
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5EF2#FFFFFF#000000##000000
##8F5EF21.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#757F9F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #8f5ef2;
/* rgb */ color: rgb(143, 94, 242);
/* oklch */ color: oklch(60.9% 0.212 294.5);
Tailwind
colors: {
  custom: {
    50: '#b68ef7',
    500: '#8f5ef2',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ef2;
$custom-light: #b68ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ef2",
  "rgb": {
    "r": 143,
    "g": 94,
    "b": 242
  },
  "hsl": {
    "h": 259.865,
    "s": 85.057,
    "l": 65.882
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.21183,
    "h": 294.5
  },
  "luminance": 0.20256
}

Semantic roles & 50–950 ramp

primary
#8F5EF2
secondary
#DEEEBD
accent
#E20498
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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