#8F2FBB#8F2FBB

#8F2FBB is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.3% C 0.212 H 312.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#8F2FBB
RGBrgb(143, 47, 187)
HSLhsl(281, 60%, 46%)
HSVhsv(281, 75%, 73%)
CMYKcmyk(23.5%, 74.9%, 0%, 26.7%)
CIE-LABlab(40.35, 60.89, -55.16)
CIE-LCHlch(40.35, 82.16, 317.82°)
OKLaboklab(51.29% 0.1433 -0.156)
OKLCHoklch(51.29% 0.212 312.6)
XYZxyz(21.3122, 11.4612, 48.0936)
Luminance0.1146 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F2FBB #5BBB2F
analogous
#492FBB #8F2FBB #BB2FA1
triadic
#8F2FBB #BB8F2F #2FBB8F
tetradic
#8F2FBB #BB492F #5BBB2F #2FA1BB
square
#8F2FBB #BB492F #5BBB2F #2FA1BB
split-complementary
#8F2FBB #A1BB2F #2FBB49
monochromatic
#441659 #6A238A #8F2FBB #AB53D4 #C384E0

Accessibility & contrast

On white

6.38
#8F2FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#8F2FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F2FBB
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F2FBB#FFFFFF#000000##FFFFFF
##8F2FBB1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABF
Deuteranopia (green-blind)
#1D61B8
Tritanopia (blue-blind)
#8A4F73
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #8f2fbb;
/* rgb */ color: rgb(143, 47, 187);
/* oklch */ color: oklch(51.3% 0.212 312.6);
Tailwind
colors: {
  custom: {
    50: '#b471d0',
    500: '#8f2fbb',
    950: '#000000',
  },
}
SCSS
$custom: #8f2fbb;
$custom-light: #b471d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8f2fbb",
  "rgb": {
    "r": 143,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 281.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.51294,
    "c": 0.21179,
    "h": 312.6
  },
  "luminance": 0.11461
}

Semantic roles & 50–950 ramp

primary
#8F2FBB
secondary
#95C97C
accent
#E34577
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120814
muted
#817B82

Preview Lab

Preview with #8F2FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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