#9628BF#9628BF

#9628BF is a mid, highly saturated purple. Relative luminance 0.118; OKLCH L 51.9% C 0.225 H 314.5°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#9628BF
RGBrgb(150, 40, 191)
HSLhsl(284, 65%, 45%)
HSVhsv(284, 79%, 75%)
CMYKcmyk(21.5%, 79.1%, 0%, 25.1%)
CIE-LABlab(40.84, 65.40, -56.66)
CIE-LCHlch(40.84, 86.53, 319.09°)
OKLaboklab(51.94% 0.1574 -0.1601)
OKLCHoklch(51.94% 0.225 314.5)
XYZxyz(22.7389, 11.7640, 50.3530)
Luminance0.1176 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9628BF #51BF28
analogous
#4B28BF #9628BF #BF289C
triadic
#9628BF #BF9628 #28BF96
tetradic
#9628BF #BF4B28 #51BF28 #289CBF
square
#9628BF #BF4B28 #51BF28 #289CBF
split-complementary
#9628BF #9CBF28 #28BF4B
monochromatic
#47135A #6E1D8C #9628BF #B34BD9 #C87EE4

Accessibility & contrast

On white

6.26
#9628BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#9628BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9628BF
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9628BF#FFFFFF#000000##FFFFFF
##9628BF1.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AC3
Deuteranopia (green-blind)
#1C63BC
Tritanopia (blue-blind)
#924C74
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9628bf;
/* rgb */ color: rgb(150, 40, 191);
/* oklch */ color: oklch(51.9% 0.225 314.5);
Tailwind
colors: {
  custom: {
    50: '#ba70d3',
    500: '#9628bf',
    950: '#000000',
  },
}
SCSS
$custom: #9628bf;
$custom-light: #ba70d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9628bf",
  "rgb": {
    "r": 150,
    "g": 40,
    "b": 191
  },
  "hsl": {
    "h": 283.709,
    "s": 65.368,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.22456,
    "h": 314.5
  },
  "luminance": 0.11763
}

Semantic roles & 50–950 ramp

primary
#9628BF
secondary
#8ECC77
accent
#E83F6D
background
#FBF7FD
surface
#F7EDFA
border
#D0C8D3
text
#120814
muted
#817B83

Preview Lab

Preview with #9628BF

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

Preview Lab → · Contrast checker → · Palette generator →

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