#9258E4#9258E4

#9258E4 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.4% C 0.204 H 299.2°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#9258E4
RGBrgb(146, 88, 228)
HSLhsl(265, 72%, 62%)
HSVhsv(265, 61%, 89%)
CMYKcmyk(36%, 61.4%, 0%, 10.6%)
CIE-LABlab(50.32, 52.05, -62.63)
CIE-LCHlch(50.32, 81.43, 309.73°)
OKLaboklab(59.41% 0.0993 -0.178)
OKLCHoklch(59.41% 0.204 299.2)
XYZxyz(29.3439, 18.6916, 75.4456)
Luminance0.1869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258E4 #AAE458
analogous
#5864E4 #9258E4 #D858E4
triadic
#9258E4 #E49258 #58E492
tetradic
#9258E4 #E45864 #AAE458 #58E4D8
square
#9258E4 #E45864 #AAE458 #58E4D8
split-complementary
#9258E4 #E4D858 #64E458
monochromatic
#551BA7 #7023DB #9258E4 #B48DED #D7C1F5

Accessibility & contrast

On white

4.43
#9258E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#9258E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9258E4
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258E4#FFFFFF#000000##000000
##9258E41.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#1E77E1
Tritanopia (blue-blind)
#807696
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9258e4;
/* rgb */ color: rgb(146, 88, 228);
/* oklch */ color: oklch(59.4% 0.204 299.2);
Tailwind
colors: {
  custom: {
    50: '#b78aed',
    500: '#9258e4',
    950: '#000000',
  },
}
SCSS
$custom: #9258e4;
$custom-light: #b78aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9258e4",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 228
  },
  "hsl": {
    "h": 264.857,
    "s": 72.165,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59413,
    "c": 0.20385,
    "h": 299.2
  },
  "luminance": 0.18692
}

Semantic roles & 50–950 ramp

primary
#9258E4
secondary
#D0E6B2
accent
#D41183
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9258E4

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

Preview Lab → · Contrast checker → · Palette generator →

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