#9850CD#9850CD

#9850CD is a mid, vivid violet. Relative luminance 0.168; OKLCH L 57.4% C 0.191 H 308.1°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#9850CD
RGBrgb(152, 80, 205)
HSLhsl(275, 56%, 56%)
HSVhsv(275, 61%, 80%)
CMYKcmyk(25.9%, 61%, 0%, 19.6%)
CIE-LABlab(48.03, 52.01, -53.18)
CIE-LCHlch(48.03, 74.38, 314.36°)
OKLaboklab(57.44% 0.1175 -0.1501)
OKLCHoklch(57.44% 0.191 308.1)
XYZxyz(26.8348, 16.8209, 59.5789)
Luminance0.1682 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850CD #85CD50
analogous
#5950CD #9850CD #CD50C3
triadic
#9850CD #CD9850 #50CD98
tetradic
#9850CD #CD5950 #85CD50 #50C3CD
square
#9850CD #CD5950 #85CD50 #50C3CD
split-complementary
#9850CD #C3CD50 #50CD59
monochromatic
#58247E #7932AE #9850CD #B480DB #D0AFE8

Accessibility & contrast

On white

4.81
#9850CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#9850CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9850CD
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850CD#FFFFFF#000000##FFFFFF
##9850CD1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#146FD1
Deuteranopia (green-blind)
#3C73CA
Tritanopia (blue-blind)
#906987
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9850cd;
/* rgb */ color: rgb(152, 80, 205);
/* oklch */ color: oklch(57.4% 0.191 308.1);
Tailwind
colors: {
  custom: {
    50: '#ba85dd',
    500: '#9850cd',
    950: '#000000',
  },
}
SCSS
$custom: #9850cd;
$custom-light: #ba85dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9850cd",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 205
  },
  "hsl": {
    "h": 274.56,
    "s": 55.556,
    "l": 55.882
  },
  "oklch": {
    "l": 0.57437,
    "c": 0.19058,
    "h": 308.1
  },
  "luminance": 0.1682
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9850CD

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

Preview Lab → · Contrast checker → · Palette generator →

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