#9850E0#9850E0

#9850E0 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.7% C 0.211 H 303.5°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9850E0
RGBrgb(152, 80, 224)
HSLhsl(270, 70%, 60%)
HSVhsv(270, 64%, 88%)
CMYKcmyk(32.1%, 64.3%, 0%, 12.2%)
CIE-LABlab(49.25, 56.41, -62.07)
CIE-LCHlch(49.25, 83.88, 312.27°)
OKLaboklab(58.7% 0.1165 -0.1762)
OKLCHoklch(58.7% 0.211 303.5)
XYZxyz(29.2690, 17.7946, 72.3993)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9850E0 #98E050
analogous
#5050E0 #9850E0 #E050E0
triadic
#9850E0 #E09850 #50E098
tetradic
#9850E0 #E05050 #98E050 #50E0E0
square
#9850E0 #E05050 #98E050 #50E0E0
split-complementary
#9850E0 #E0E050 #50E050
monochromatic
#5B1B9A #7925CE #9850E0 #B784E9 #D5B8F2

Accessibility & contrast

On white

4.61
#9850E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9850E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9850E0
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9850E0#FFFFFF#000000##FFFFFF
##9850E01.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E4
Deuteranopia (green-blind)
#2075DD
Tritanopia (blue-blind)
#8A6F91
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9850e0;
/* rgb */ color: rgb(152, 80, 224);
/* oklch */ color: oklch(58.7% 0.211 303.5);
Tailwind
colors: {
  custom: {
    50: '#bb85ea',
    500: '#9850e0',
    950: '#000000',
  },
}
SCSS
$custom: #9850e0;
$custom-light: #bb85ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9850e0",
  "rgb": {
    "r": 152,
    "g": 80,
    "b": 224
  },
  "hsl": {
    "h": 270,
    "s": 69.903,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58701,
    "c": 0.21118,
    "h": 303.5
  },
  "luminance": 0.17795
}

Semantic roles & 50–950 ramp

primary
#9850E0
secondary
#C6E2AA
accent
#ED3B94
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9850E0

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

Preview Lab → · Contrast checker → · Palette generator →

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