#9628B3#9628B3

#9628B3 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.1% C 0.214 H 318.0°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9628B3
RGBrgb(150, 40, 179)
HSLhsl(287, 63%, 43%)
HSVhsv(287, 78%, 70%)
CMYKcmyk(16.2%, 77.7%, 0%, 29.8%)
CIE-LABlab(40.01, 63.09, -50.94)
CIE-LCHlch(40.01, 81.09, 321.09°)
OKLaboklab(51.1% 0.1594 -0.1433)
OKLCHoklch(51.1% 0.214 318)
XYZxyz(21.4720, 11.2573, 43.6809)
Luminance0.1126 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628B3 #45B328
analogous
#5028B3 #9628B3 #B3288A
triadic
#9628B3 #B39628 #28B396
tetradic
#9628B3 #B35028 #45B328 #288AB3
square
#9628B3 #B35028 #45B328 #288AB3
split-complementary
#9628B3 #8AB328 #28B350
monochromatic
#42124F #6C1D81 #9628B3 #B743D5 #CA75E0

Accessibility & contrast

On white

6.46
#9628B3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9628B3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628B3
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628B3#FFFFFF#000000##FFFFFF
##9628B31.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057B7
Deuteranopia (green-blind)
#2E62B0
Tritanopia (blue-blind)
#95476D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9628b3;
/* rgb */ color: rgb(150, 40, 179);
/* oklch */ color: oklch(51.1% 0.214 318.0);
Tailwind
colors: {
  custom: {
    50: '#b96fca',
    500: '#9628b3',
    950: '#000000',
  },
}
SCSS
$custom: #9628b3;
$custom-light: #b96fca;
$custom-dark: #000000;
JSON
{
  "hex": "#9628b3",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 179
  },
  "hsl": {
    "h": 287.482,
    "s": 63.47,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51097,
    "c": 0.21434,
    "h": 318
  },
  "luminance": 0.11256
}

Semantic roles & 50–950 ramp

primary
#9628B3
secondary
#82C86F
accent
#E64164
background
#FBF7FC
surface
#F7EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9628B3

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

Preview Lab → · Contrast checker → · Palette generator →

#9628B3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva