#9258EC#9258EC

#9258EC is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.213 H 297.6°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#9258EC
RGBrgb(146, 88, 236)
HSLhsl(264, 80%, 64%)
HSVhsv(264, 63%, 93%)
CMYKcmyk(38.1%, 62.7%, 0%, 7.5%)
CIE-LABlab(50.86, 54.06, -66.27)
CIE-LCHlch(50.86, 85.52, 309.21°)
OKLaboklab(59.97% 0.0988 -0.1887)
OKLCHoklch(59.97% 0.213 297.6)
XYZxyz(30.4803, 19.1461, 81.4303)
Luminance0.1915 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258EC #B2EC58
analogous
#5868EC #9258EC #DC58EC
triadic
#9258EC #EC9258 #58EC92
tetradic
#9258EC #EC5868 #B2EC58 #58ECDC
square
#9258EC #EC5868 #B2EC58 #58ECDC
split-complementary
#9258EC #ECDC58 #68EC58
monochromatic
#5315B5 #6E21E6 #9258EC #B68FF2 #DAC6F9

Accessibility & contrast

On white

4.35
#9258EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#9258EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9258EC
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258EC#FFFFFF#000000##000000
##9258EC1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F1
Deuteranopia (green-blind)
#0077E9
Tritanopia (blue-blind)
#7D799A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9258ec;
/* rgb */ color: rgb(146, 88, 236);
/* oklch */ color: oklch(60.0% 0.213 297.6);
Tailwind
colors: {
  custom: {
    50: '#b88af3',
    500: '#9258ec',
    950: '#000000',
  },
}
SCSS
$custom: #9258ec;
$custom-light: #b88af3;
$custom-dark: #000000;
JSON
{
  "hex": "#9258ec",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 236
  },
  "hsl": {
    "h": 263.514,
    "s": 79.57,
    "l": 63.529
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.21302,
    "h": 297.6
  },
  "luminance": 0.19147
}

Semantic roles & 50–950 ramp

primary
#9258EC
secondary
#D6EAB6
accent
#DC0A89
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9258EC

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

Preview Lab → · Contrast checker → · Palette generator →

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