#9258C8#9258C8

#9258C8 is a mid, vivid violet. Relative luminance 0.173; OKLCH L 57.6% C 0.171 H 305.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9258C8
RGBrgb(146, 88, 200)
HSLhsl(271, 50%, 56%)
HSVhsv(271, 56%, 78%)
CMYKcmyk(27%, 56%, 0%, 21.6%)
CIE-LABlab(48.59, 45.21, -49.46)
CIE-LCHlch(48.59, 67.01, 312.43°)
OKLaboklab(57.59% 0.0997 -0.1394)
OKLCHoklch(57.59% 0.171 305.6)
XYZxyz(25.7669, 17.2608, 56.6066)
Luminance0.1726 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258C8 #8EC858
analogous
#5A58C8 #9258C8 #C858C6
triadic
#9258C8 #C89258 #58C892
tetradic
#9258C8 #C85A58 #8EC858 #58C6C8
square
#9258C8 #C85A58 #8EC858 #58C6C8
split-complementary
#9258C8 #C6C858 #58C85A
monochromatic
#54297D #7338AB #9258C8 #B086D7 #CEB4E6

Accessibility & contrast

On white

4.72
#9258C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9258C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9258C8
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258C8#FFFFFF#000000##FFFFFF
##9258C81.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F72CC
Deuteranopia (green-blind)
#4474C5
Tritanopia (blue-blind)
#896D88
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9258c8;
/* rgb */ color: rgb(146, 88, 200);
/* oklch */ color: oklch(57.6% 0.171 305.6);
Tailwind
colors: {
  custom: {
    50: '#b589d9',
    500: '#9258c8',
    950: '#000000',
  },
}
SCSS
$custom: #9258c8;
$custom-light: #b589d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9258c8",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 200
  },
  "hsl": {
    "h": 271.071,
    "s": 50.45,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57588,
    "c": 0.17137,
    "h": 305.6
  },
  "luminance": 0.17261
}

Semantic roles & 50–950 ramp

primary
#9258C8
secondary
#BDD5A7
accent
#DA4E91
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110C15
muted
#807D83

Preview Lab

Preview with #9258C8

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

Preview Lab → · Contrast checker → · Palette generator →

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