#9258E8#9258E8

#9258E8 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.7% C 0.208 H 298.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9258E8
RGBrgb(146, 88, 232)
HSLhsl(264, 76%, 63%)
HSVhsv(264, 62%, 91%)
CMYKcmyk(37.1%, 62.1%, 0%, 9%)
CIE-LABlab(50.59, 53.05, -64.45)
CIE-LCHlch(50.59, 83.48, 309.46°)
OKLaboklab(59.69% 0.0991 -0.1834)
OKLCHoklch(59.69% 0.208 298.4)
XYZxyz(29.9056, 18.9162, 78.4039)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258E8 #AEE858
analogous
#5866E8 #9258E8 #DA58E8
triadic
#9258E8 #E89258 #58E892
tetradic
#9258E8 #E85866 #AEE858 #58E8DA
square
#9258E8 #E85866 #AEE858 #58E8DA
split-complementary
#9258E8 #E8DA58 #66E858
monochromatic
#5418AE #6F22E1 #9258E8 #B58EEF #D8C4F7

Accessibility & contrast

On white

4.39
#9258E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#9258E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9258E8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258E8#FFFFFF#000000##000000
##9258E81.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079ED
Deuteranopia (green-blind)
#1177E5
Tritanopia (blue-blind)
#7E7898
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9258e8;
/* rgb */ color: rgb(146, 88, 232);
/* oklch */ color: oklch(59.7% 0.208 298.4);
Tailwind
colors: {
  custom: {
    50: '#b78af0',
    500: '#9258e8',
    950: '#000000',
  },
}
SCSS
$custom: #9258e8;
$custom-light: #b78af0;
$custom-dark: #000000;
JSON
{
  "hex": "#9258e8",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 232
  },
  "hsl": {
    "h": 264.167,
    "s": 75.789,
    "l": 62.745
  },
  "oklch": {
    "l": 0.59689,
    "c": 0.20844,
    "h": 298.4
  },
  "luminance": 0.18917
}

Semantic roles & 50–950 ramp

primary
#9258E8
secondary
#D3E8B4
accent
#D80E86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9258E8

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

Preview Lab → · Contrast checker → · Palette generator →

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