#9885F5#9885F5

#9885F5 is a light, vivid violet. Relative luminance 0.300; OKLCH L 68.3% C 0.161 H 289.2°. Best body text is #000000 at 7.01:1 contrast (WCAG AA passes).

Color values

HEX#9885F5
RGBrgb(152, 133, 245)
HSLhsl(250, 85%, 74%)
HSVhsv(250, 46%, 96%)
CMYKcmyk(38%, 45.7%, 0%, 3.9%)
CIE-LABlab(61.69, 32.87, -53.87)
CIE-LCHlch(61.69, 63.10, 301.39°)
OKLaboklab(68.29% 0.053 -0.1521)
OKLCHoklch(68.29% 0.161 289.2)
XYZxyz(37.8134, 30.0419, 90.1749)
Luminance0.3004 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9885F5 #E2F585
analogous
#85AAF5 #9885F5 #D085F5
triadic
#9885F5 #F59885 #85F598
tetradic
#9885F5 #F585AA #E2F585 #85F5D0
square
#9885F5 #F585AA #E2F585 #85F5D0
split-complementary
#9885F5 #F5D085 #AAF585
monochromatic
#3814EC #684CF0 #9885F5 #C8BEFA #E7E3FD

Accessibility & contrast

On white

3.00
#9885F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.01
#9885F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9885F5
7.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9885F5#FFFFFF#000000##000000
##9885F51.003.007.017.01
#FFFFFF3.001.0021.0021.00
#0000007.0121.001.001.00
##0000007.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C97F9
Deuteranopia (green-blind)
#5D92F2
Tritanopia (blue-blind)
#7F9BB1
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9885f5;
/* rgb */ color: rgb(152, 133, 245);
/* oklch */ color: oklch(68.3% 0.161 289.2);
Tailwind
colors: {
  custom: {
    50: '#baa8f9',
    500: '#9885f5',
    950: '#000000',
  },
}
SCSS
$custom: #9885f5;
$custom-light: #baa8f9;
$custom-dark: #000000;
JSON
{
  "hex": "#9885f5",
  "rgb": {
    "r": 152,
    "g": 133,
    "b": 245
  },
  "hsl": {
    "h": 250.179,
    "s": 84.848,
    "l": 74.118
  },
  "oklch": {
    "l": 0.68289,
    "c": 0.16109,
    "h": 289.2
  },
  "luminance": 0.30043
}

Semantic roles & 50–950 ramp

primary
#9885F5
secondary
#F0F5D6
accent
#E104BC
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F17
muted
#817F85

Preview Lab

Preview with #9885F5

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

Preview Lab → · Contrast checker → · Palette generator →

#9885F5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva