#9258CC#9258CC

#9258CC is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.8% C 0.176 H 304.5°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9258CC
RGBrgb(146, 88, 204)
HSLhsl(270, 53%, 57%)
HSVhsv(270, 57%, 80%)
CMYKcmyk(28.4%, 56.9%, 0%, 20%)
CIE-LABlab(48.82, 46.17, -51.38)
CIE-LCHlch(48.82, 69.08, 311.94°)
OKLaboklab(57.84% 0.0998 -0.145)
OKLCHoklch(57.84% 0.176 304.5)
XYZxyz(26.2405, 17.4502, 59.1009)
Luminance0.1745 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258CC #92CC58
analogous
#5858CC #9258CC #CC58CC
triadic
#9258CC #CC9258 #58CC92
tetradic
#9258CC #CC5858 #92CC58 #58CCCC
square
#9258CC #CC5858 #92CC58 #58CCCC
split-complementary
#9258CC #CCCC58 #58CC58
monochromatic
#552882 #7336B1 #9258CC #B187DA #CFB6E9

Accessibility & contrast

On white

4.68
#9258CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9258CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9258CC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258CC#FFFFFF#000000##FFFFFF
##9258CC1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A72D0
Deuteranopia (green-blind)
#4074C9
Tritanopia (blue-blind)
#886E8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9258cc;
/* rgb */ color: rgb(146, 88, 204);
/* oklch */ color: oklch(57.8% 0.176 304.5);
Tailwind
colors: {
  custom: {
    50: '#b589dc',
    500: '#9258cc',
    950: '#000000',
  },
}
SCSS
$custom: #9258cc;
$custom-light: #b589dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9258cc",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 204
  },
  "hsl": {
    "h": 270,
    "s": 53.211,
    "l": 57.255
  },
  "oklch": {
    "l": 0.57837,
    "c": 0.17604,
    "h": 304.5
  },
  "luminance": 0.1745
}

Semantic roles & 50–950 ramp

primary
#9258CC
secondary
#C0D7A8
accent
#DD4B94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9258CC

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

Preview Lab → · Contrast checker → · Palette generator →

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