#9538DA#9538DA

#9538DA is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.2% C 0.233 H 306.1°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#9538DA
RGBrgb(149, 56, 218)
HSLhsl(274, 69%, 54%)
HSVhsv(274, 74%, 85%)
CMYKcmyk(31.7%, 74.3%, 0%, 14.5%)
CIE-LABlab(44.63, 65.14, -66.15)
CIE-LCHlch(44.63, 92.83, 314.56°)
OKLaboklab(55.2% 0.1374 -0.1881)
OKLCHoklch(55.2% 0.233 306.1)
XYZxyz(26.4607, 14.2801, 67.6784)
Luminance0.1428 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9538DA #7DDA38
analogous
#4438DA #9538DA #DA38CE
triadic
#9538DA #DA9538 #38DA95
tetradic
#9538DA #DA4438 #7DDA38 #38CEDA
square
#9538DA #DA4438 #7DDA38 #38CEDA
split-complementary
#9538DA #CEDA38 #38DA44
monochromatic
#541880 #7521B3 #9538DA #B06CE4 #CC9FED

Accessibility & contrast

On white

5.45
#9538DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9538DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9538DA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9538DA#FFFFFF#000000##FFFFFF
##9538DA1.005.453.865.45
#FFFFFF5.451.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067DF
Deuteranopia (green-blind)
#006AD7
Tritanopia (blue-blind)
#896087
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9538da;
/* rgb */ color: rgb(149, 56, 218);
/* oklch */ color: oklch(55.2% 0.233 306.1);
Tailwind
colors: {
  custom: {
    50: '#ba78e6',
    500: '#9538da',
    950: '#000000',
  },
}
SCSS
$custom: #9538da;
$custom-light: #ba78e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9538da",
  "rgb": {
    "r": 149,
    "g": 56,
    "b": 218
  },
  "hsl": {
    "h": 274.444,
    "s": 68.644,
    "l": 53.725
  },
  "oklch": {
    "l": 0.55197,
    "c": 0.23297,
    "h": 306.1
  },
  "luminance": 0.1428
}

Semantic roles & 50–950 ramp

primary
#9538DA
secondary
#B2DA94
accent
#EB3C87
background
#FCF7FE
surface
#F8EEFC
border
#D1C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9538DA

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

Preview Lab → · Contrast checker → · Palette generator →

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