#9056CA#9056CA

#9056CA is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.2% C 0.176 H 304.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9056CA
RGBrgb(144, 86, 202)
HSLhsl(270, 52%, 56%)
HSVhsv(270, 57%, 79%)
CMYKcmyk(28.7%, 57.4%, 0%, 20.8%)
CIE-LABlab(48.07, 46.27, -51.45)
CIE-LCHlch(48.07, 69.20, 311.96°)
OKLaboklab(57.19% 0.0998 -0.1452)
OKLCHoklch(57.19% 0.176 304.5)
XYZxyz(25.4877, 16.8492, 57.7752)
Luminance0.1685 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9056CA #90CA56
analogous
#5656CA #9056CA #CA56CA
triadic
#9056CA #CA9056 #56CA90
tetradic
#9056CA #CA5656 #90CA56 #56CACA
square
#9056CA #CA5656 #90CA56 #56CACA
split-complementary
#9056CA #CACA56 #56CA56
monochromatic
#53287E #7136AD #9056CA #AF85D9 #CDB3E7

Accessibility & contrast

On white

4.81
#9056CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#9056CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9056CA
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9056CA#FFFFFF#000000##FFFFFF
##9056CA1.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2671CE
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#866D88
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9056ca;
/* rgb */ color: rgb(144, 86, 202);
/* oklch */ color: oklch(57.2% 0.176 304.5);
Tailwind
colors: {
  custom: {
    50: '#b488db',
    500: '#9056ca',
    950: '#000000',
  },
}
SCSS
$custom: #9056ca;
$custom-light: #b488db;
$custom-dark: #000000;
JSON
{
  "hex": "#9056ca",
  "rgb": {
    "r": 144,
    "g": 86,
    "b": 202
  },
  "hsl": {
    "h": 270,
    "s": 52.252,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57195,
    "c": 0.17621,
    "h": 304.5
  },
  "luminance": 0.16849
}

Semantic roles & 50–950 ramp

primary
#9056CA
secondary
#BED6A6
accent
#DC4C94
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9056CA

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

Preview Lab → · Contrast checker → · Palette generator →

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