#9438D3#9438D3

#9438D3 is a mid, highly saturated violet. Relative luminance 0.138; OKLCH L 54.6% C 0.226 H 307.4°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9438D3
RGBrgb(148, 56, 211)
HSLhsl(276, 64%, 52%)
HSVhsv(276, 73%, 83%)
CMYKcmyk(29.9%, 73.5%, 0%, 17.3%)
CIE-LABlab(43.98, 63.43, -63.19)
CIE-LCHlch(43.98, 89.53, 315.11°)
OKLaboklab(54.55% 0.1374 -0.1795)
OKLCHoklch(54.55% 0.226 307.4)
XYZxyz(25.3823, 13.8277, 62.9473)
Luminance0.1383 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438D3 #77D338
analogous
#4738D3 #9438D3 #D338C4
triadic
#9438D3 #D39438 #38D394
tetradic
#9438D3 #D34738 #77D338 #38C4D3
square
#9438D3 #D34738 #77D338 #38C4D3
split-complementary
#9438D3 #C4D338 #38D347
monochromatic
#511A76 #7325A9 #9438D3 #AF6ADE #CA9CE9

Accessibility & contrast

On white

5.58
#9438D3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9438D3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438D3
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438D3#FFFFFF#000000##FFFFFF
##9438D31.005.583.775.58
#FFFFFF5.581.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065D7
Deuteranopia (green-blind)
#0069D0
Tritanopia (blue-blind)
#8A5D83
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9438d3;
/* rgb */ color: rgb(148, 56, 211);
/* oklch */ color: oklch(54.6% 0.226 307.4);
Tailwind
colors: {
  custom: {
    50: '#b977e1',
    500: '#9438d3',
    950: '#000000',
  },
}
SCSS
$custom: #9438d3;
$custom-light: #b977e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9438d3",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 211
  },
  "hsl": {
    "h": 275.613,
    "s": 63.786,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.22603,
    "h": 307.4
  },
  "luminance": 0.13827
}

Semantic roles & 50–950 ramp

primary
#9438D3
secondary
#ADD592
accent
#E74184
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9438D3

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

Preview Lab → · Contrast checker → · Palette generator →

#9438D3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva