#9125B2#9125B2

#9125B2 is a mid, highly saturated purple. Relative luminance 0.106; OKLCH L 50.1% C 0.215 H 316.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#9125B2
RGBrgb(145, 37, 178)
HSLhsl(286, 66%, 42%)
HSVhsv(286, 79%, 70%)
CMYKcmyk(18.5%, 79.2%, 0%, 30.2%)
CIE-LABlab(38.83, 62.92, -52.29)
CIE-LCHlch(38.83, 81.81, 320.27°)
OKLaboklab(50.08% 0.1558 -0.1474)
OKLCHoklch(50.08% 0.215 316.6)
XYZxyz(20.3733, 10.5581, 43.0756)
Luminance0.1056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9125B2 #46B225
analogous
#4A25B2 #9125B2 #B2258D
triadic
#9125B2 #B29125 #25B291
tetradic
#9125B2 #B24A25 #46B225 #258DB2
square
#9125B2 #B24A25 #46B225 #258DB2
split-complementary
#9125B2 #8DB225 #25B24A
monochromatic
#3E104D #681A7F #9125B2 #B33DD7 #C770E1

Accessibility & contrast

On white

6.75
#9125B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9125B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9125B2
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9125B2#FFFFFF#000000##FFFFFF
##9125B21.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055B6
Deuteranopia (green-blind)
#255EAF
Tritanopia (blue-blind)
#8F466C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9125b2;
/* rgb */ color: rgb(145, 37, 178);
/* oklch */ color: oklch(50.1% 0.215 316.6);
Tailwind
colors: {
  custom: {
    50: '#b66dca',
    500: '#9125b2',
    950: '#000000',
  },
}
SCSS
$custom: #9125b2;
$custom-light: #b66dca;
$custom-dark: #000000;
JSON
{
  "hex": "#9125b2",
  "rgb": {
    "r": 145,
    "g": 37,
    "b": 178
  },
  "hsl": {
    "h": 285.957,
    "s": 65.581,
    "l": 42.157
  },
  "oklch": {
    "l": 0.50084,
    "c": 0.21453,
    "h": 316.6
  },
  "luminance": 0.10557
}

Semantic roles & 50–950 ramp

primary
#9125B2
secondary
#81C86B
accent
#E93F67
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9125B2

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

Preview Lab → · Contrast checker → · Palette generator →

#9125B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva