#9258CD#9258CD

#9258CD is a mid, vivid violet. Relative luminance 0.175; OKLCH L 57.9% C 0.177 H 304.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#9258CD
RGBrgb(146, 88, 205)
HSLhsl(270, 54%, 57%)
HSVhsv(270, 57%, 80%)
CMYKcmyk(28.8%, 57.1%, 0%, 19.6%)
CIE-LABlab(48.88, 46.41, -51.86)
CIE-LCHlch(48.88, 69.59, 311.82°)
OKLaboklab(57.9% 0.0999 -0.1464)
OKLCHoklch(57.9% 0.177 304.3)
XYZxyz(26.3608, 17.4983, 59.7345)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258CD #93CD58
analogous
#5858CD #9258CD #CD58CD
triadic
#9258CD #CD9258 #58CD92
tetradic
#9258CD #CD5858 #93CD58 #58CDCD
square
#9258CD #CD5858 #93CD58 #58CDCD
split-complementary
#9258CD #CDCD58 #58CD58
monochromatic
#552783 #7335B2 #9258CD #B187DB #CFB6E9

Accessibility & contrast

On white

4.67
#9258CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9258CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9258CD
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258CD#FFFFFF#000000##FFFFFF
##9258CD1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2873D1
Deuteranopia (green-blind)
#3F74CA
Tritanopia (blue-blind)
#886F8A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9258cd;
/* rgb */ color: rgb(146, 88, 205);
/* oklch */ color: oklch(57.9% 0.177 304.3);
Tailwind
colors: {
  custom: {
    50: '#b589dd',
    500: '#9258cd',
    950: '#000000',
  },
}
SCSS
$custom: #9258cd;
$custom-light: #b589dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9258cd",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 205
  },
  "hsl": {
    "h": 269.744,
    "s": 53.917,
    "l": 57.451
  },
  "oklch": {
    "l": 0.57899,
    "c": 0.17721,
    "h": 304.3
  },
  "luminance": 0.17498
}

Semantic roles & 50–950 ramp

primary
#9258CD
secondary
#C1D8A9
accent
#DD4B95
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9258CD

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

Preview Lab → · Contrast checker → · Palette generator →

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