#9945E2#9945E2

#9945E2 is a mid, highly saturated violet. Relative luminance 0.165; OKLCH L 57.6% C 0.227 H 304.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9945E2
RGBrgb(153, 69, 226)
HSLhsl(272, 73%, 58%)
HSVhsv(272, 69%, 89%)
CMYKcmyk(32.3%, 69.5%, 0%, 11.4%)
CIE-LABlab(47.65, 62.22, -65.78)
CIE-LCHlch(47.65, 90.54, 313.40°)
OKLaboklab(57.63% 0.1291 -0.187)
OKLCHoklch(57.63% 0.227 304.6)
XYZxyz(28.9894, 16.5197, 73.5982)
Luminance0.1652 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9945E2 #8EE245
analogous
#4A45E2 #9945E2 #E245DC
triadic
#9945E2 #E29945 #45E299
tetradic
#9945E2 #E24A45 #8EE245 #45DCE2
square
#9945E2 #E24A45 #8EE245 #45DCE2
split-complementary
#9945E2 #DCE245 #45E24A
monochromatic
#5B1795 #7B20CA #9945E2 #B67AEA #D3AFF3

Accessibility & contrast

On white

4.88
#9945E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#9945E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9945E2
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9945E2#FFFFFF#000000##FFFFFF
##9945E21.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FE7
Deuteranopia (green-blind)
#0071DF
Tritanopia (blue-blind)
#8B698F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9945e2;
/* rgb */ color: rgb(153, 69, 226);
/* oklch */ color: oklch(57.6% 0.227 304.6);
Tailwind
colors: {
  custom: {
    50: '#bc7fec',
    500: '#9945e2',
    950: '#000000',
  },
}
SCSS
$custom: #9945e2;
$custom-light: #bc7fec;
$custom-dark: #000000;
JSON
{
  "hex": "#9945e2",
  "rgb": {
    "r": 153,
    "g": 69,
    "b": 226
  },
  "hsl": {
    "h": 272.102,
    "s": 73.023,
    "l": 57.843
  },
  "oklch": {
    "l": 0.57627,
    "c": 0.22724,
    "h": 304.6
  },
  "luminance": 0.1652
}

Semantic roles & 50–950 ramp

primary
#9945E2
secondary
#BFE1A2
accent
#F0388D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9945E2

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

Preview Lab → · Contrast checker → · Palette generator →

#9945E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva