#9057DB#9057DB

#9057DB is a mid, vivid violet. Relative luminance 0.179; OKLCH L 58.5% C 0.195 H 300.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9057DB
RGBrgb(144, 87, 219)
HSLhsl(266, 65%, 60%)
HSVhsv(266, 60%, 86%)
CMYKcmyk(34.2%, 60.3%, 0%, 14.1%)
CIE-LABlab(49.33, 49.89, -59.15)
CIE-LCHlch(49.33, 77.38, 310.15°)
OKLaboklab(58.45% 0.0983 -0.1679)
OKLCHoklch(58.45% 0.195 300.4)
XYZxyz(27.6929, 17.8600, 68.9924)
Luminance0.1786 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9057DB #A2DB57
analogous
#5760DB #9057DB #D257DB
triadic
#9057DB #DB9057 #57DB90
tetradic
#9057DB #DB5760 #A2DB57 #57DBD2
square
#9057DB #DB5760 #A2DB57 #57DBD2
split-complementary
#9057DB #DBD257 #60DB57
monochromatic
#542097 #702BCA #9057DB #B189E6 #D3BCF1

Accessibility & contrast

On white

4.59
#9057DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#9057DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9057DB
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9057DB#FFFFFF#000000##FFFFFF
##9057DB1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075DF
Deuteranopia (green-blind)
#2A74D8
Tritanopia (blue-blind)
#807391
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9057db;
/* rgb */ color: rgb(144, 87, 219);
/* oklch */ color: oklch(58.5% 0.195 300.4);
Tailwind
colors: {
  custom: {
    50: '#b589e7',
    500: '#9057db',
    950: '#000000',
  },
}
SCSS
$custom: #9057db;
$custom-light: #b589e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9057db",
  "rgb": {
    "r": 144,
    "g": 87,
    "b": 219
  },
  "hsl": {
    "h": 265.909,
    "s": 64.706,
    "l": 60
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.19453,
    "h": 300.4
  },
  "luminance": 0.1786
}

Semantic roles & 50–950 ramp

primary
#9057DB
secondary
#CAE0AD
accent
#E8409F
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9057DB

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

Preview Lab → · Contrast checker → · Palette generator →

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