#9258ED#9258ED

#9258ED is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.0% C 0.214 H 297.4°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#9258ED
RGBrgb(146, 88, 237)
HSLhsl(263, 81%, 64%)
HSVhsv(263, 63%, 93%)
CMYKcmyk(38.4%, 62.9%, 0%, 7.1%)
CIE-LABlab(50.93, 54.31, -66.72)
CIE-LCHlch(50.93, 86.03, 309.15°)
OKLaboklab(60.04% 0.0987 -0.19)
OKLCHoklch(60.04% 0.214 297.4)
XYZxyz(30.6259, 19.2044, 82.1976)
Luminance0.1920 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258ED #B3ED58
analogous
#5868ED #9258ED #DD58ED
triadic
#9258ED #ED9258 #58ED92
tetradic
#9258ED #ED5868 #B3ED58 #58EDDD
square
#9258ED #ED5868 #B3ED58 #58EDDD
split-complementary
#9258ED #EDDD58 #68ED58
monochromatic
#5314B7 #6E21E7 #9258ED #B68FF3 #DAC6F9

Accessibility & contrast

On white

4.34
#9258ED on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#9258ED on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9258ED
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258ED#FFFFFF#000000##000000
##9258ED1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007AF2
Deuteranopia (green-blind)
#0078EA
Tritanopia (blue-blind)
#7C7A9B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9258ed;
/* rgb */ color: rgb(146, 88, 237);
/* oklch */ color: oklch(60.0% 0.214 297.4);
Tailwind
colors: {
  custom: {
    50: '#b88af4',
    500: '#9258ed',
    950: '#000000',
  },
}
SCSS
$custom: #9258ed;
$custom-light: #b88af4;
$custom-dark: #000000;
JSON
{
  "hex": "#9258ed",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 237
  },
  "hsl": {
    "h": 263.356,
    "s": 80.541,
    "l": 63.725
  },
  "oklch": {
    "l": 0.6004,
    "c": 0.21416,
    "h": 297.4
  },
  "luminance": 0.19205
}

Semantic roles & 50–950 ramp

primary
#9258ED
secondary
#D6EBB6
accent
#DD098A
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9258ED

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

Preview Lab → · Contrast checker → · Palette generator →

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