#9230B7#9230B7

#9230B7 is a mid, highly saturated purple. Relative luminance 0.116; OKLCH L 51.5% C 0.208 H 314.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#9230B7
RGBrgb(146, 48, 183)
HSLhsl(284, 58%, 45%)
HSVhsv(284, 74%, 72%)
CMYKcmyk(20.2%, 73.8%, 0%, 28.2%)
CIE-LABlab(40.65, 60.29, -52.31)
CIE-LCHlch(40.65, 79.81, 319.05°)
OKLaboklab(51.51% 0.1467 -0.1475)
OKLCHoklch(51.51% 0.208 314.9)
XYZxyz(21.4568, 11.6446, 45.9079)
Luminance0.1164 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9230B7 #55B730
analogous
#4F30B7 #9230B7 #B73098
triadic
#9230B7 #B79230 #30B792
tetradic
#9230B7 #B74F30 #55B730 #3098B7
square
#9230B7 #B74F30 #55B730 #3098B7
split-complementary
#9230B7 #98B730 #30B74F
monochromatic
#451756 #6B2387 #9230B7 #AF52D2 #C583DE

Accessibility & contrast

On white

6.31
#9230B7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#9230B7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9230B7
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9230B7#FFFFFF#000000##FFFFFF
##9230B71.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ABB
Deuteranopia (green-blind)
#2A62B4
Tritanopia (blue-blind)
#8F4D71
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #9230b7;
/* rgb */ color: rgb(146, 48, 183);
/* oklch */ color: oklch(51.5% 0.208 314.9);
Tailwind
colors: {
  custom: {
    50: '#b672cd',
    500: '#9230b7',
    950: '#000000',
  },
}
SCSS
$custom: #9230b7;
$custom-light: #b672cd;
$custom-dark: #000000;
JSON
{
  "hex": "#9230b7",
  "rgb": {
    "r": 146,
    "g": 48,
    "b": 183
  },
  "hsl": {
    "h": 283.556,
    "s": 58.442,
    "l": 45.294
  },
  "oklch": {
    "l": 0.51509,
    "c": 0.20805,
    "h": 314.9
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#9230B7
secondary
#90C87B
accent
#E24671
background
#FBF7FC
surface
#F6EDF9
border
#D0C8D2
text
#120914
muted
#817B82

Preview Lab

Preview with #9230B7

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

Preview Lab → · Contrast checker → · Palette generator →

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