#9258CA#9258CA

#9258CA is a mid, vivid violet. Relative luminance 0.174; OKLCH L 57.7% C 0.174 H 305.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9258CA
RGBrgb(146, 88, 202)
HSLhsl(271, 52%, 57%)
HSVhsv(271, 56%, 79%)
CMYKcmyk(27.7%, 56.4%, 0%, 20.8%)
CIE-LABlab(48.70, 45.69, -50.42)
CIE-LCHlch(48.70, 68.04, 312.18°)
OKLaboklab(57.71% 0.0998 -0.1422)
OKLCHoklch(57.71% 0.174 305.1)
XYZxyz(26.0022, 17.3549, 57.8456)
Luminance0.1736 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258CA #90CA58
analogous
#5958CA #9258CA #CA58C9
triadic
#9258CA #CA9258 #58CA92
tetradic
#9258CA #CA5958 #90CA58 #58C9CA
square
#9258CA #CA5958 #90CA58 #58C9CA
split-complementary
#9258CA #C9CA58 #58CA59
monochromatic
#55287F #7337AE #9258CA #B086D9 #CFB5E7

Accessibility & contrast

On white

4.70
#9258CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#9258CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9258CA
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258CA#FFFFFF#000000##FFFFFF
##9258CA1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C72CE
Deuteranopia (green-blind)
#4274C7
Tritanopia (blue-blind)
#886E89
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9258ca;
/* rgb */ color: rgb(146, 88, 202);
/* oklch */ color: oklch(57.7% 0.174 305.1);
Tailwind
colors: {
  custom: {
    50: '#b589db',
    500: '#9258ca',
    950: '#000000',
  },
}
SCSS
$custom: #9258ca;
$custom-light: #b589db;
$custom-dark: #000000;
JSON
{
  "hex": "#9258ca",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 202
  },
  "hsl": {
    "h": 270.526,
    "s": 51.818,
    "l": 56.863
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.17371,
    "h": 305.1
  },
  "luminance": 0.17355
}

Semantic roles & 50–950 ramp

primary
#9258CA
secondary
#BED6A8
accent
#DB4D93
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #9258CA

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

Preview Lab → · Contrast checker → · Palette generator →

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