#9057DC#9057DC

#9057DC is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.196 H 300.1°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#9057DC
RGBrgb(144, 87, 220)
HSLhsl(266, 66%, 60%)
HSVhsv(266, 60%, 86%)
CMYKcmyk(34.5%, 60.5%, 0%, 13.7%)
CIE-LABlab(49.39, 50.14, -59.62)
CIE-LCHlch(49.39, 77.90, 310.07°)
OKLaboklab(58.52% 0.0983 -0.1692)
OKLCHoklch(58.52% 0.196 300.1)
XYZxyz(27.8249, 17.9128, 69.6878)
Luminance0.1791 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9057DC #A3DC57
analogous
#5761DC #9057DC #D257DC
triadic
#9057DC #DC9057 #57DC90
tetradic
#9057DC #DC5761 #A3DC57 #57DCD2
square
#9057DC #DC5761 #A3DC57 #57DCD2
split-complementary
#9057DC #DCD257 #61DC57
monochromatic
#542099 #6F2ACB #9057DC #B18AE7 #D3BCF1

Accessibility & contrast

On white

4.58
#9057DC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9057DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9057DC
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9057DC#FFFFFF#000000##000000
##9057DC1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#2874D9
Tritanopia (blue-blind)
#807391
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9057dc;
/* rgb */ color: rgb(144, 87, 220);
/* oklch */ color: oklch(58.5% 0.196 300.1);
Tailwind
colors: {
  custom: {
    50: '#b589e8',
    500: '#9057dc',
    950: '#000000',
  },
}
SCSS
$custom: #9057dc;
$custom-light: #b589e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9057dc",
  "rgb": {
    "r": 144,
    "g": 87,
    "b": 220
  },
  "hsl": {
    "h": 265.714,
    "s": 65.517,
    "l": 60.196
  },
  "oklch": {
    "l": 0.58519,
    "c": 0.19568,
    "h": 300.1
  },
  "luminance": 0.17913
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9057DC

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

Preview Lab → · Contrast checker → · Palette generator →

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