#9950CD#9950CD

#9950CD is a mid, vivid violet. Relative luminance 0.169; OKLCH L 57.6% C 0.191 H 308.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9950CD
RGBrgb(153, 80, 205)
HSLhsl(275, 56%, 56%)
HSVhsv(275, 61%, 80%)
CMYKcmyk(25.4%, 61%, 0%, 19.6%)
CIE-LABlab(48.16, 52.24, -52.98)
CIE-LCHlch(48.16, 74.40, 314.60°)
OKLaboklab(57.55% 0.1188 -0.1494)
OKLCHoklch(57.55% 0.191 308.5)
XYZxyz(27.0228, 16.9178, 59.5877)
Luminance0.1692 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9950CD #84CD50
analogous
#5A50CD #9950CD #CD50C2
triadic
#9950CD #CD9950 #50CD99
tetradic
#9950CD #CD5A50 #84CD50 #50C2CD
square
#9950CD #CD5A50 #84CD50 #50C2CD
split-complementary
#9950CD #C2CD50 #50CD5A
monochromatic
#59247E #7A32AE #9950CD #B580DB #D0AFE8

Accessibility & contrast

On white

4.79
#9950CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9950CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9950CD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9950CD#FFFFFF#000000##FFFFFF
##9950CD1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#166FD1
Deuteranopia (green-blind)
#3D73CA
Tritanopia (blue-blind)
#916887
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9950cd;
/* rgb */ color: rgb(153, 80, 205);
/* oklch */ color: oklch(57.6% 0.191 308.5);
Tailwind
colors: {
  custom: {
    50: '#bb85dd',
    500: '#9950cd',
    950: '#000000',
  },
}
SCSS
$custom: #9950cd;
$custom-light: #bb85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9950cd",
  "rgb": {
    "r": 153,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 275.04,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57553,
    "c": 0.19087,
    "h": 308.5
  },
  "luminance": 0.16917
}

Semantic roles & 50–950 ramp

primary
#9950CD
secondary
#B8D6A2
accent
#DF4987
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9950CD

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

Preview Lab → · Contrast checker → · Palette generator →

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