#9230B2#9230B2

#9230B2 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.2% C 0.204 H 316.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9230B2
RGBrgb(146, 48, 178)
HSLhsl(285, 58%, 44%)
HSVhsv(285, 73%, 70%)
CMYKcmyk(18%, 73%, 0%, 30.2%)
CIE-LABlab(40.31, 59.29, -49.89)
CIE-LCHlch(40.31, 77.48, 319.92°)
OKLaboklab(51.17% 0.1473 -0.1404)
OKLCHoklch(51.17% 0.204 316.4)
XYZxyz(20.9457, 11.4401, 43.2157)
Luminance0.1144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9230B2 #50B230
analogous
#5130B2 #9230B2 #B23091
triadic
#9230B2 #B29230 #30B292
tetradic
#9230B2 #B25130 #50B230 #3091B2
square
#9230B2 #B25130 #50B230 #3091B2
split-complementary
#9230B2 #91B230 #30B251
monochromatic
#431652 #6A2382 #9230B2 #B050D0 #C680DD

Accessibility & contrast

On white

6.39
#9230B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9230B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9230B2
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9230B2#FFFFFF#000000##FFFFFF
##9230B21.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059B6
Deuteranopia (green-blind)
#3062AF
Tritanopia (blue-blind)
#904B6E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9230b2;
/* rgb */ color: rgb(146, 48, 178);
/* oklch */ color: oklch(51.2% 0.204 316.4);
Tailwind
colors: {
  custom: {
    50: '#b672ca',
    500: '#9230b2',
    950: '#000000',
  },
}
SCSS
$custom: #9230b2;
$custom-light: #b672ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9230b2",
  "rgb": {
    "r": 146,
    "g": 48,
    "b": 178
  },
  "hsl": {
    "h": 285.231,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51166,
    "c": 0.20352,
    "h": 316.4
  },
  "luminance": 0.11439
}

Semantic roles & 50–950 ramp

primary
#9230B2
secondary
#8BC678
accent
#E1476D
background
#FBF7FC
surface
#F6EDF8
border
#D0C8D1
text
#120813
muted
#817B82

Preview Lab

Preview with #9230B2

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

Preview Lab → · Contrast checker → · Palette generator →

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