#9B27CA#9B27CA

#9B27CA is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.4% C 0.236 H 313.4°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#9B27CA
RGBrgb(155, 39, 202)
HSLhsl(283, 68%, 47%)
HSVhsv(283, 81%, 79%)
CMYKcmyk(23.3%, 80.7%, 0%, 20.8%)
CIE-LABlab(42.28, 68.71, -60.70)
CIE-LCHlch(42.28, 91.69, 318.54°)
OKLaboklab(53.36% 0.1623 -0.1718)
OKLCHoklch(53.36% 0.236 313.4)
XYZxyz(24.9019, 12.6847, 57.0023)
Luminance0.1268 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B27CA #56CA27
analogous
#4927CA #9B27CA #CA27A8
triadic
#9B27CA #CA9B27 #27CA9B
tetradic
#9B27CA #CA4927 #56CA27 #27A8CA
square
#9B27CA #CA4927 #56CA27 #27A8CA
split-complementary
#9B27CA #A8CA27 #27CA49
monochromatic
#4C1363 #741D97 #9B27CA #B551DD #CB84E7

Accessibility & contrast

On white

5.94
#9B27CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9B27CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B27CA
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B27CA#FFFFFF#000000##FFFFFF
##9B27CA1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ECE
Deuteranopia (green-blind)
#0B66C7
Tritanopia (blue-blind)
#96507A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9b27ca;
/* rgb */ color: rgb(155, 39, 202);
/* oklch */ color: oklch(53.4% 0.236 313.4);
Tailwind
colors: {
  custom: {
    50: '#be70db',
    500: '#9b27ca',
    950: '#000000',
  },
}
SCSS
$custom: #9b27ca;
$custom-light: #be70db;
$custom-dark: #000000;
JSON
{
  "hex": "#9b27ca",
  "rgb": {
    "r": 155,
    "g": 39,
    "b": 202
  },
  "hsl": {
    "h": 282.699,
    "s": 67.635,
    "l": 47.255
  },
  "oklch": {
    "l": 0.53356,
    "c": 0.23634,
    "h": 313.4
  },
  "luminance": 0.12684
}

Semantic roles & 50–950 ramp

primary
#9B27CA
secondary
#95D07C
accent
#EB3D6F
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9B27CA

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

Preview Lab → · Contrast checker → · Palette generator →

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