#9A1FBC#9A1FBC

#9A1FBC is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.7% C 0.231 H 317.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#9A1FBC
RGBrgb(154, 31, 188)
HSLhsl(287, 72%, 43%)
HSVhsv(287, 84%, 74%)
CMYKcmyk(18.1%, 83.5%, 0%, 26.3%)
CIE-LABlab(40.38, 68.07, -55.62)
CIE-LCHlch(40.38, 87.90, 320.75°)
OKLaboklab(51.68% 0.1694 -0.1568)
OKLCHoklch(51.68% 0.231 317.2)
XYZxyz(22.8922, 11.4819, 48.5776)
Luminance0.1148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A1FBC #41BC1F
analogous
#4B1FBC #9A1FBC #BC1F90
triadic
#9A1FBC #BC9A1F #1FBC9A
tetradic
#9A1FBC #BC4B1F #41BC1F #1F90BC
square
#9A1FBC #BC4B1F #41BC1F #1F90BC
split-complementary
#9A1FBC #90BC1F #1FBC4B
monochromatic
#440E53 #6F1687 #9A1FBC #BB3ADE #CD6EE7

Accessibility & contrast

On white

6.37
#9A1FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#9A1FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A1FBC
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A1FBC#FFFFFF#000000##FFFFFF
##9A1FBC1.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058C0
Deuteranopia (green-blind)
#2263B9
Tritanopia (blue-blind)
#984671
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9a1fbc;
/* rgb */ color: rgb(154, 31, 188);
/* oklch */ color: oklch(51.7% 0.231 317.2);
Tailwind
colors: {
  custom: {
    50: '#bd6dd1',
    500: '#9a1fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9a1fbc;
$custom-light: #bd6dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a1fbc",
  "rgb": {
    "r": 154,
    "g": 31,
    "b": 188
  },
  "hsl": {
    "h": 287.006,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51678,
    "c": 0.23083,
    "h": 317.2
  },
  "luminance": 0.11481
}

Semantic roles & 50–950 ramp

primary
#9A1FBC
secondary
#7FCD69
accent
#EE3961
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9A1FBC

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

Preview Lab → · Contrast checker → · Palette generator →

#9A1FBC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva