#9050CD#9050CD

#9050CD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.5% C 0.188 H 304.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#9050CD
RGBrgb(144, 80, 205)
HSLhsl(271, 56%, 56%)
HSVhsv(271, 61%, 80%)
CMYKcmyk(29.8%, 61%, 0%, 19.6%)
CIE-LABlab(47.07, 50.14, -54.78)
CIE-LCHlch(47.07, 74.26, 312.47°)
OKLaboklab(56.53% 0.1071 -0.155)
OKLCHoklch(56.53% 0.188 304.7)
XYZxyz(25.3873, 16.0745, 59.5110)
Luminance0.1607 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9050CD #8DCD50
analogous
#5150CD #9050CD #CD50CC
triadic
#9050CD #CD9050 #50CD90
tetradic
#9050CD #CD5150 #8DCD50 #50CCCD
square
#9050CD #CD5150 #8DCD50 #50CCCD
split-complementary
#9050CD #CCCD50 #50CD51
monochromatic
#52247E #7132AE #9050CD #AE80DB #CCAFE8

Accessibility & contrast

On white

4.98
#9050CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#9050CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9050CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9050CD#FFFFFF#000000##FFFFFF
##9050CD1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066ED1
Deuteranopia (green-blind)
#3270CA
Tritanopia (blue-blind)
#856A87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9050cd;
/* rgb */ color: rgb(144, 80, 205);
/* oklch */ color: oklch(56.5% 0.188 304.7);
Tailwind
colors: {
  custom: {
    50: '#b484dd',
    500: '#9050cd',
    950: '#000000',
  },
}
SCSS
$custom: #9050cd;
$custom-light: #b484dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9050cd",
  "rgb": {
    "r": 144,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 270.72,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.56527,
    "c": 0.18841,
    "h": 304.7
  },
  "luminance": 0.16074
}

Semantic roles & 50–950 ramp

primary
#9050CD
secondary
#BCD6A2
accent
#DF4992
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9050CD

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

Preview Lab → · Contrast checker → · Palette generator →

#9050CD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva