#9538DD#9538DD

#9538DD is a mid, highly saturated violet. Relative luminance 0.144; OKLCH L 55.4% C 0.236 H 305.5°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#9538DD
RGBrgb(149, 56, 221)
HSLhsl(274, 71%, 54%)
HSVhsv(274, 75%, 87%)
CMYKcmyk(32.6%, 74.7%, 0%, 13.3%)
CIE-LABlab(44.86, 65.79, -67.50)
CIE-LCHlch(44.86, 94.26, 314.27°)
OKLaboklab(55.42% 0.1368 -0.1921)
OKLCHoklch(55.42% 0.236 305.5)
XYZxyz(26.8568, 14.4386, 69.7647)
Luminance0.1444 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538DD #80DD38
analogous
#4338DD #9538DD #DD38D3
triadic
#9538DD #DD9538 #38DD95
tetradic
#9538DD #DD4338 #80DD38 #38D3DD
square
#9538DD #DD4338 #80DD38 #38D3DD
split-complementary
#9538DD #D3DD38 #38DD43
monochromatic
#541784 #761FB8 #9538DD #B16CE6 #CDA1EF

Accessibility & contrast

On white

5.40
#9538DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#9538DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538DD
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538DD#FFFFFF#000000##FFFFFF
##9538DD1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0068E2
Deuteranopia (green-blind)
#006ADA
Tritanopia (blue-blind)
#886189
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9538dd;
/* rgb */ color: rgb(149, 56, 221);
/* oklch */ color: oklch(55.4% 0.236 305.5);
Tailwind
colors: {
  custom: {
    50: '#ba78e9',
    500: '#9538dd',
    950: '#000000',
  },
}
SCSS
$custom: #9538dd;
$custom-light: #ba78e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9538dd",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 273.818,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55424,
    "c": 0.23583,
    "h": 305.5
  },
  "luminance": 0.14438
}

Semantic roles & 50–950 ramp

primary
#9538DD
secondary
#B4DB95
accent
#EE3A88
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9538DD

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

Preview Lab → · Contrast checker → · Palette generator →

#9538DD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva