#8F5FF2#8F5FF2

#8F5FF2 is a mid, highly saturated violet. Relative luminance 0.204; OKLCH L 61.1% C 0.211 H 294.4°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#8F5FF2
RGBrgb(143, 95, 242)
HSLhsl(260, 85%, 66%)
HSVhsv(260, 61%, 95%)
CMYKcmyk(40.9%, 60.7%, 0%, 5.1%)
CIE-LABlab(52.32, 51.30, -67.27)
CIE-LCHlch(52.32, 84.60, 307.33°)
OKLaboklab(61.09% 0.0868 -0.1918)
OKLCHoklch(61.09% 0.211 294.4)
XYZxyz(31.4426, 20.4341, 86.2747)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F5FF2 #C2F25F
analogous
#5F78F2 #8F5FF2 #D85FF2
triadic
#8F5FF2 #F28F5F #5FF28F
tetradic
#8F5FF2 #F25F78 #C2F25F #5FF2D8
square
#8F5FF2 #F25F78 #C2F25F #5FF2D8
split-complementary
#8F5FF2 #F2D85F #78F25F
monochromatic
#4C10C6 #6726ED #8F5FF2 #B798F7 #DED0FB

Accessibility & contrast

On white

4.13
#8F5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#8F5FF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F5FF2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F5FF2#FFFFFF#000000##000000
##8F5FF21.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF7
Deuteranopia (green-blind)
#007AEF
Tritanopia (blue-blind)
#7580A0
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #8f5ff2;
/* rgb */ color: rgb(143, 95, 242);
/* oklch */ color: oklch(61.1% 0.211 294.4);
Tailwind
colors: {
  custom: {
    50: '#b68ef7',
    500: '#8f5ff2',
    950: '#000000',
  },
}
SCSS
$custom: #8f5ff2;
$custom-light: #b68ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f5ff2",
  "rgb": {
    "r": 143,
    "g": 95,
    "b": 242
  },
  "hsl": {
    "h": 259.592,
    "s": 84.971,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61091,
    "c": 0.21051,
    "h": 294.4
  },
  "luminance": 0.20435
}

Semantic roles & 50–950 ramp

primary
#8F5FF2
secondary
#DFEFBE
accent
#E10499
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8F5FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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