#9845D0#9845D0

#9845D0 is a mid, highly saturated violet. Relative luminance 0.155; OKLCH L 56.2% C 0.209 H 308.5°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#9845D0
RGBrgb(152, 69, 208)
HSLhsl(276, 60%, 54%)
HSVhsv(276, 67%, 82%)
CMYKcmyk(26.9%, 66.8%, 0%, 18.4%)
CIE-LABlab(46.29, 57.97, -57.70)
CIE-LCHlch(46.29, 81.80, 315.13°)
OKLaboklab(56.24% 0.13 -0.1633)
OKLCHoklch(56.24% 0.209 308.5)
XYZxyz(26.4599, 15.4861, 61.2575)
Luminance0.1549 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9845D0 #7DD045
analogous
#5245D0 #9845D0 #D045C3
triadic
#9845D0 #D09845 #45D098
tetradic
#9845D0 #D05245 #7DD045 #45C3D0
square
#9845D0 #D05245 #7DD045 #45C3D0
split-complementary
#9845D0 #C3D045 #45D052
monochromatic
#561F7B #782CAC #9845D0 #B376DC #CEA7E9

Accessibility & contrast

On white

5.13
#9845D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#9845D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9845D0
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9845D0#FFFFFF#000000##FFFFFF
##9845D01.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AD4
Deuteranopia (green-blind)
#2A6FCD
Tritanopia (blue-blind)
#906385
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9845d0;
/* rgb */ color: rgb(152, 69, 208);
/* oklch */ color: oklch(56.2% 0.209 308.5);
Tailwind
colors: {
  custom: {
    50: '#bb7edf',
    500: '#9845d0',
    950: '#000000',
  },
}
SCSS
$custom: #9845d0;
$custom-light: #bb7edf;
$custom-dark: #000000;
JSON
{
  "hex": "#9845d0",
  "rgb": {
    "r": 152,
    "g": 69,
    "b": 208
  },
  "hsl": {
    "h": 275.827,
    "s": 59.657,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56241,
    "c": 0.20871,
    "h": 308.5
  },
  "luminance": 0.15486
}

Semantic roles & 50–950 ramp

primary
#9845D0
secondary
#B3D69B
accent
#E34585
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9845D0

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

Preview Lab → · Contrast checker → · Palette generator →

#9845D0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva