#9852DE#9852DE

#9852DE is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.206 H 303.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9852DE
RGBrgb(152, 82, 222)
HSLhsl(270, 68%, 60%)
HSVhsv(270, 63%, 87%)
CMYKcmyk(31.5%, 63.1%, 0%, 12.9%)
CIE-LABlab(49.48, 54.95, -60.56)
CIE-LCHlch(49.48, 81.78, 312.22°)
OKLaboklab(58.83% 0.1144 -0.1717)
OKLCHoklch(58.83% 0.206 303.7)
XYZxyz(29.1480, 17.9840, 71.0287)
Luminance0.1798 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9852DE #98DE52
analogous
#5252DE #9852DE #DE52DE
triadic
#9852DE #DE9852 #52DE98
tetradic
#9852DE #DE5252 #98DE52 #52DEDE
square
#9852DE #DE5252 #98DE52 #52DEDE
split-complementary
#9852DE #DEDE52 #52DE52
monochromatic
#5B1D99 #7927CC #9852DE #B785E8 #D5B9F2

Accessibility & contrast

On white

4.57
#9852DE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#9852DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9852DE
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9852DE#FFFFFF#000000##000000
##9852DE1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E2
Deuteranopia (green-blind)
#2875DB
Tritanopia (blue-blind)
#8B7091
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9852de;
/* rgb */ color: rgb(152, 82, 222);
/* oklch */ color: oklch(58.8% 0.206 303.7);
Tailwind
colors: {
  custom: {
    50: '#bb86e9',
    500: '#9852de',
    950: '#000000',
  },
}
SCSS
$custom: #9852de;
$custom-light: #bb86e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9852de",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 222
  },
  "hsl": {
    "h": 270,
    "s": 67.961,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58826,
    "c": 0.20633,
    "h": 303.7
  },
  "luminance": 0.17984
}

Semantic roles & 50–950 ramp

primary
#9852DE
secondary
#C6E1AB
accent
#EB3D94
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9852DE

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

Preview Lab → · Contrast checker → · Palette generator →

#9852DE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva