#9056DB#9056DB

#9056DB is a mid, vivid violet. Relative luminance 0.177; OKLCH L 58.3% C 0.196 H 300.5°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9056DB
RGBrgb(144, 86, 219)
HSLhsl(266, 65%, 60%)
HSVhsv(266, 61%, 86%)
CMYKcmyk(34.2%, 60.7%, 0%, 14.1%)
CIE-LABlab(49.13, 50.42, -59.47)
CIE-LCHlch(49.13, 77.97, 310.29°)
OKLaboklab(58.31% 0.0995 -0.1688)
OKLCHoklch(58.31% 0.196 300.5)
XYZxyz(27.6125, 17.6992, 68.9656)
Luminance0.1770 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9056DB #A1DB56
analogous
#565FDB #9056DB #D256DB
triadic
#9056DB #DB9056 #56DB90
tetradic
#9056DB #DB565F #A1DB56 #56DBD2
square
#9056DB #DB565F #A1DB56 #56DBD2
split-complementary
#9056DB #DBD256 #5FDB56
monochromatic
#542097 #702BC9 #9056DB #B188E6 #D2BBF0

Accessibility & contrast

On white

4.63
#9056DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9056DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9056DB
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9056DB#FFFFFF#000000##FFFFFF
##9056DB1.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074DF
Deuteranopia (green-blind)
#2874D8
Tritanopia (blue-blind)
#807290
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9056db;
/* rgb */ color: rgb(144, 86, 219);
/* oklch */ color: oklch(58.3% 0.196 300.5);
Tailwind
colors: {
  custom: {
    50: '#b588e7',
    500: '#9056db',
    950: '#000000',
  },
}
SCSS
$custom: #9056db;
$custom-light: #b588e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9056db",
  "rgb": {
    "r": 144,
    "g": 86,
    "b": 219
  },
  "hsl": {
    "h": 266.165,
    "s": 64.878,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58308,
    "c": 0.19592,
    "h": 300.5
  },
  "luminance": 0.17699
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9056DB

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

Preview Lab → · Contrast checker → · Palette generator →

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