#9258CE#9258CE

#9258CE is a mid, vivid violet. Relative luminance 0.175; OKLCH L 58.0% C 0.178 H 304.0°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9258CE
RGBrgb(146, 88, 206)
HSLhsl(269, 55%, 58%)
HSVhsv(269, 57%, 81%)
CMYKcmyk(29.1%, 57.3%, 0%, 19.2%)
CIE-LABlab(48.94, 46.65, -52.34)
CIE-LCHlch(48.94, 70.11, 311.71°)
OKLaboklab(57.96% 0.0999 -0.1478)
OKLCHoklch(57.96% 0.178 304)
XYZxyz(26.4819, 17.5468, 60.3723)
Luminance0.1755 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258CE #94CE58
analogous
#5859CE #9258CE #CD58CE
triadic
#9258CE #CE9258 #58CE92
tetradic
#9258CE #CE5859 #94CE58 #58CECD
square
#9258CE #CE5859 #94CE58 #58CECD
split-complementary
#9258CE #CECD58 #59CE58
monochromatic
#552785 #7335B4 #9258CE #B187DC #D0B7EA

Accessibility & contrast

On white

4.66
#9258CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9258CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9258CE
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258CE#FFFFFF#000000##FFFFFF
##9258CE1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2773D2
Deuteranopia (green-blind)
#3E74CB
Tritanopia (blue-blind)
#876F8B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9258ce;
/* rgb */ color: rgb(146, 88, 206);
/* oklch */ color: oklch(58.0% 0.178 304.0);
Tailwind
colors: {
  custom: {
    50: '#b589dd',
    500: '#9258ce',
    950: '#000000',
  },
}
SCSS
$custom: #9258ce;
$custom-light: #b589dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9258ce",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 206
  },
  "hsl": {
    "h": 269.492,
    "s": 54.63,
    "l": 57.647
  },
  "oklch": {
    "l": 0.57963,
    "c": 0.17837,
    "h": 304
  },
  "luminance": 0.17547
}

Semantic roles & 50–950 ramp

primary
#9258CE
secondary
#C1D9A9
accent
#DE4A95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#120C15
muted
#817D83

Preview Lab

Preview with #9258CE

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

Preview Lab → · Contrast checker → · Palette generator →

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