#9259B2#9259B2

#9259B2 is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.5% C 0.144 H 312.2°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9259B2
RGBrgb(146, 89, 178)
HSLhsl(278, 37%, 52%)
HSVhsv(278, 50%, 70%)
CMYKcmyk(18%, 50%, 0%, 30.2%)
CIE-LABlab(47.59, 39.57, -38.29)
CIE-LCHlch(47.59, 55.06, 315.94°)
OKLaboklab(56.46% 0.0967 -0.1068)
OKLCHoklch(56.46% 0.144 312.2)
XYZxyz(23.4609, 16.4706, 44.0541)
Luminance0.1647 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9259B2 #79B259
analogous
#6559B2 #9259B2 #B259A6
triadic
#9259B2 #B29259 #59B292
tetradic
#9259B2 #B26559 #79B259 #59A6B2
square
#9259B2 #B26559 #79B259 #59A6B2
split-complementary
#9259B2 #A6B259 #59B265
monochromatic
#502E63 #71418D #9259B2 #AD83C5 #C9ADD9

Accessibility & contrast

On white

4.89
#9259B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9259B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9259B2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9259B2#FFFFFF#000000##FFFFFF
##9259B21.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#446EB5
Deuteranopia (green-blind)
#5572B0
Tritanopia (blue-blind)
#8F677D
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9259b2;
/* rgb */ color: rgb(146, 89, 178);
/* oklch */ color: oklch(56.5% 0.144 312.2);
Tailwind
colors: {
  custom: {
    50: '#b48ac9',
    500: '#9259b2',
    950: '#000000',
  },
}
SCSS
$custom: #9259b2;
$custom-light: #b48ac9;
$custom-dark: #000000;
JSON
{
  "hex": "#9259b2",
  "rgb": {
    "r": 146,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 278.427,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.56457,
    "c": 0.14408,
    "h": 312.2
  },
  "luminance": 0.1647
}

Semantic roles & 50–950 ramp

primary
#9259B2
secondary
#AEC7A0
accent
#CD5B84
background
#FBF8FC
surface
#F6F0F8
border
#D0CBD1
text
#110C13
muted
#807D82

Preview Lab

Preview with #9259B2

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

Preview Lab → · Contrast checker → · Palette generator →

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