#9058DC#9058DC

#9058DC is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.194 H 300.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9058DC
RGBrgb(144, 88, 220)
HSLhsl(265, 65%, 60%)
HSVhsv(265, 60%, 86%)
CMYKcmyk(34.5%, 60%, 0%, 13.7%)
CIE-LABlab(49.59, 49.62, -59.30)
CIE-LCHlch(49.59, 77.32, 309.92°)
OKLaboklab(58.66% 0.0971 -0.1683)
OKLCHoklch(58.66% 0.194 300)
XYZxyz(27.9065, 18.0758, 69.7150)
Luminance0.1808 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9058DC #A4DC58
analogous
#5862DC #9058DC #D258DC
triadic
#9058DC #DC9058 #58DC90
tetradic
#9058DC #DC5862 #A4DC58 #58DCD2
square
#9058DC #DC5862 #A4DC58 #58DCD2
split-complementary
#9058DC #DCD258 #62DC58
monochromatic
#542099 #6F2BCC #9058DC #B28BE7 #D3BDF1

Accessibility & contrast

On white

4.55
#9058DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9058DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9058DC
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9058DC#FFFFFF#000000##000000
##9058DC1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E0
Deuteranopia (green-blind)
#2A75D9
Tritanopia (blue-blind)
#807492
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9058dc;
/* rgb */ color: rgb(144, 88, 220);
/* oklch */ color: oklch(58.7% 0.194 300.0);
Tailwind
colors: {
  custom: {
    50: '#b58ae8',
    500: '#9058dc',
    950: '#000000',
  },
}
SCSS
$custom: #9058dc;
$custom-light: #b58ae8;
$custom-dark: #000000;
JSON
{
  "hex": "#9058dc",
  "rgb": {
    "r": 144,
    "g": 88,
    "b": 220
  },
  "hsl": {
    "h": 265.455,
    "s": 65.347,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58663,
    "c": 0.19429,
    "h": 300
  },
  "luminance": 0.18076
}

Semantic roles & 50–950 ramp

primary
#9058DC
secondary
#CCE1AF
accent
#CD1880
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9058DC

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

Preview Lab → · Contrast checker → · Palette generator →

#9058DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva