#9258E3#9258E3

#9258E3 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.203 H 299.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9258E3
RGBrgb(146, 88, 227)
HSLhsl(265, 71%, 62%)
HSVhsv(265, 61%, 89%)
CMYKcmyk(35.7%, 61.2%, 0%, 11%)
CIE-LABlab(50.26, 51.80, -62.17)
CIE-LCHlch(50.26, 80.92, 309.80°)
OKLaboklab(59.35% 0.0994 -0.1767)
OKLCHoklch(59.35% 0.203 299.4)
XYZxyz(29.2055, 18.6362, 74.7166)
Luminance0.1864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258E3 #A9E358
analogous
#5864E3 #9258E3 #D858E3
triadic
#9258E3 #E39258 #58E392
tetradic
#9258E3 #E35864 #A9E358 #58E3D8
square
#9258E3 #E35864 #A9E358 #58E3D8
split-complementary
#9258E3 #E3D858 #64E358
monochromatic
#551CA5 #7024D9 #9258E3 #B48CEC #D6C1F5

Accessibility & contrast

On white

4.44
#9258E3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#9258E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9258E3
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258E3#FFFFFF#000000##000000
##9258E31.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E7
Deuteranopia (green-blind)
#2076E0
Tritanopia (blue-blind)
#807695
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9258e3;
/* rgb */ color: rgb(146, 88, 227);
/* oklch */ color: oklch(59.3% 0.203 299.4);
Tailwind
colors: {
  custom: {
    50: '#b78aed',
    500: '#9258e3',
    950: '#000000',
  },
}
SCSS
$custom: #9258e3;
$custom-light: #b78aed;
$custom-dark: #000000;
JSON
{
  "hex": "#9258e3",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 227
  },
  "hsl": {
    "h": 265.036,
    "s": 71.282,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59345,
    "c": 0.2027,
    "h": 299.4
  },
  "luminance": 0.18636
}

Semantic roles & 50–950 ramp

primary
#9258E3
secondary
#D0E5B2
accent
#D31283
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9258E3

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

Preview Lab → · Contrast checker → · Palette generator →

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