#9258DD#9258DD

#9258DD is a mid, vivid violet. Relative luminance 0.183; OKLCH L 58.9% C 0.196 H 300.6°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9258DD
RGBrgb(146, 88, 221)
HSLhsl(266, 66%, 61%)
HSVhsv(266, 60%, 87%)
CMYKcmyk(33.9%, 60.2%, 0%, 13.3%)
CIE-LABlab(49.87, 50.31, -59.40)
CIE-LCHlch(49.87, 77.84, 310.27°)
OKLaboklab(58.94% 0.0997 -0.1685)
OKLCHoklch(58.94% 0.196 300.6)
XYZxyz(28.3918, 18.3107, 70.4311)
Luminance0.1831 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9258DD #A3DD58
analogous
#5861DD #9258DD #D458DD
triadic
#9258DD #DD9258 #58DD92
tetradic
#9258DD #DD5861 #A3DD58 #58DDD4
square
#9258DD #DD5861 #A3DD58 #58DDD4
split-complementary
#9258DD #DDD458 #61DD58
monochromatic
#55209B #712ACE #9258DD #B38BE7 #D4BEF2

Accessibility & contrast

On white

4.50
#9258DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#9258DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9258DD
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9258DD#FFFFFF#000000##000000
##9258DD1.004.504.664.66
#FFFFFF4.501.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E1
Deuteranopia (green-blind)
#2C76DA
Tritanopia (blue-blind)
#827492
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9258dd;
/* rgb */ color: rgb(146, 88, 221);
/* oklch */ color: oklch(58.9% 0.196 300.6);
Tailwind
colors: {
  custom: {
    50: '#b68ae8',
    500: '#9258dd',
    950: '#000000',
  },
}
SCSS
$custom: #9258dd;
$custom-light: #b68ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9258dd",
  "rgb": {
    "r": 146,
    "g": 88,
    "b": 221
  },
  "hsl": {
    "h": 266.165,
    "s": 66.169,
    "l": 60.588
  },
  "oklch": {
    "l": 0.58939,
    "c": 0.19579,
    "h": 300.6
  },
  "luminance": 0.18311
}

Semantic roles & 50–950 ramp

primary
#9258DD
secondary
#CCE2AF
accent
#CE177E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9258DD

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

Preview Lab → · Contrast checker → · Palette generator →

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