#9258DB#9258DB

#9258DB is a mid, vivid violet. Relative luminance 0.182; OKLCH L 58.8% C 0.193 H 301.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9258DB
RGBrgb(146, 88, 219)
HSLhsl(267, 65%, 60%)
HSVhsv(267, 60%, 86%)
CMYKcmyk(33.3%, 59.8%, 0%, 14.1%)
CIE-LABlab(49.74, 49.82, -58.47)
CIE-LCHlch(49.74, 76.81, 310.43°)
OKLaboklab(58.81% 0.0997 -0.1658)
OKLCHoklch(58.81% 0.193 301)
XYZxyz(28.1269, 18.2048, 69.0361)
Luminance0.1820 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258DB #A1DB58
analogous
#585FDB #9258DB #D458DB
triadic
#9258DB #DB9258 #58DB92
tetradic
#9258DB #DB585F #A1DB58 #58DBD4
square
#9258DB #DB585F #A1DB58 #58DBD4
split-complementary
#9258DB #DBD458 #5FDB58
monochromatic
#552198 #722CCA #9258DB #B38AE6 #D4BDF1

Accessibility & contrast

On white

4.52
#9258DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9258DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9258DB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258DB#FFFFFF#000000##000000
##9258DB1.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0576DF
Deuteranopia (green-blind)
#2F76D8
Tritanopia (blue-blind)
#837391
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9258db;
/* rgb */ color: rgb(146, 88, 219);
/* oklch */ color: oklch(58.8% 0.193 301.0);
Tailwind
colors: {
  custom: {
    50: '#b68ae7',
    500: '#9258db',
    950: '#000000',
  },
}
SCSS
$custom: #9258db;
$custom-light: #b68ae7;
$custom-dark: #000000;
JSON
{
  "hex": "#9258db",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 219
  },
  "hsl": {
    "h": 266.565,
    "s": 64.532,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58806,
    "c": 0.19348,
    "h": 301
  },
  "luminance": 0.18205
}

Semantic roles & 50–950 ramp

primary
#9258DB
secondary
#CAE1AE
accent
#CC197D
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9258DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9258DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva