#9852E0#9852E0

#9852E0 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.0% C 0.209 H 303.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#9852E0
RGBrgb(152, 82, 224)
HSLhsl(270, 70%, 60%)
HSVhsv(270, 63%, 88%)
CMYKcmyk(32.1%, 63.4%, 0%, 12.2%)
CIE-LABlab(49.61, 55.43, -61.49)
CIE-LCHlch(49.61, 82.78, 312.03°)
OKLaboklab(58.96% 0.1142 -0.1745)
OKLCHoklch(58.96% 0.209 303.2)
XYZxyz(29.4176, 18.0918, 72.4488)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9852E0 #9AE052
analogous
#5253E0 #9852E0 #DF52E0
triadic
#9852E0 #E09852 #52E098
tetradic
#9852E0 #E05253 #9AE052 #52E0DF
square
#9852E0 #E05253 #9AE052 #52E0DF
split-complementary
#9852E0 #E0DF52 #53E052
monochromatic
#5B1C9C #7925D0 #9852E0 #B786E9 #D6BAF3

Accessibility & contrast

On white

4.55
#9852E0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#9852E0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9852E0
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9852E0#FFFFFF#000000##000000
##9852E01.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E4
Deuteranopia (green-blind)
#2476DD
Tritanopia (blue-blind)
#8A7192
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9852e0;
/* rgb */ color: rgb(152, 82, 224);
/* oklch */ color: oklch(59.0% 0.209 303.2);
Tailwind
colors: {
  custom: {
    50: '#bb86ea',
    500: '#9852e0',
    950: '#000000',
  },
}
SCSS
$custom: #9852e0;
$custom-light: #bb86ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9852e0",
  "rgb": {
    "r": 152,
    "g": 82,
    "b": 224
  },
  "hsl": {
    "h": 269.577,
    "s": 69.608,
    "l": 60
  },
  "oklch": {
    "l": 0.58962,
    "c": 0.20853,
    "h": 303.2
  },
  "luminance": 0.18092
}

Semantic roles & 50–950 ramp

primary
#9852E0
secondary
#C7E2AC
accent
#EC3B95
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9852E0

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

Preview Lab → · Contrast checker → · Palette generator →

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