#9950CF#9950CF

#9950CF is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.7% C 0.193 H 307.9°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#9950CF
RGBrgb(153, 80, 207)
HSLhsl(274, 57%, 56%)
HSVhsv(274, 61%, 81%)
CMYKcmyk(26.1%, 61.4%, 0%, 18.8%)
CIE-LABlab(48.28, 52.69, -53.93)
CIE-LCHlch(48.28, 75.40, 314.34°)
OKLaboklab(57.68% 0.1187 -0.1522)
OKLCHoklch(57.68% 0.193 307.9)
XYZxyz(27.2657, 17.0150, 60.8672)
Luminance0.1701 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9950CF #86CF50
analogous
#5A50CF #9950CF #CF50C6
triadic
#9950CF #CF9950 #50CF99
tetradic
#9950CF #CF5A50 #86CF50 #50C6CF
square
#9950CF #CF5A50 #86CF50 #50C6CF
split-complementary
#9950CF #C6CF50 #50CF5A
monochromatic
#592381 #7B31B1 #9950CF #B580DC #D1B0E9

Accessibility & contrast

On white

4.77
#9950CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#9950CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9950CF
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9950CF#FFFFFF#000000##FFFFFF
##9950CF1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1070D3
Deuteranopia (green-blind)
#3B73CC
Tritanopia (blue-blind)
#916988
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9950cf;
/* rgb */ color: rgb(153, 80, 207);
/* oklch */ color: oklch(57.7% 0.193 307.9);
Tailwind
colors: {
  custom: {
    50: '#bb85de',
    500: '#9950cf',
    950: '#000000',
  },
}
SCSS
$custom: #9950cf;
$custom-light: #bb85de;
$custom-dark: #000000;
JSON
{
  "hex": "#9950cf",
  "rgb": {
    "r": 153,
    "g": 80,
    "b": 207
  },
  "hsl": {
    "h": 274.488,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.57681,
    "c": 0.19304,
    "h": 307.9
  },
  "luminance": 0.17015
}

Semantic roles & 50–950 ramp

primary
#9950CF
secondary
#B9D8A3
accent
#E04888
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9950CF

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

Preview Lab → · Contrast checker → · Palette generator →

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