#9438DD#9438DD

#9438DD is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.3% C 0.236 H 305.1°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9438DD
RGBrgb(148, 56, 221)
HSLhsl(273, 71%, 54%)
HSVhsv(273, 75%, 87%)
CMYKcmyk(33%, 74.7%, 0%, 13.3%)
CIE-LABlab(44.72, 65.62, -67.72)
CIE-LCHlch(44.72, 94.30, 314.10°)
OKLaboklab(55.3% 0.1355 -0.1928)
OKLCHoklch(55.3% 0.236 305.1)
XYZxyz(26.6751, 14.3449, 69.7561)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438DD #81DD38
analogous
#4238DD #9438DD #DD38D3
triadic
#9438DD #DD9438 #38DD94
tetradic
#9438DD #DD4238 #81DD38 #38D3DD
square
#9438DD #DD4238 #81DD38 #38D3DD
split-complementary
#9438DD #D3DD38 #38DD42
monochromatic
#541784 #751FB8 #9438DD #B06CE6 #CCA1EF

Accessibility & contrast

On white

5.43
#9438DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9438DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438DD
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438DD#FFFFFF#000000##FFFFFF
##9438DD1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9438dd;
/* rgb */ color: rgb(148, 56, 221);
/* oklch */ color: oklch(55.3% 0.236 305.1);
Tailwind
colors: {
  custom: {
    50: '#b978e9',
    500: '#9438dd',
    950: '#000000',
  },
}
SCSS
$custom: #9438dd;
$custom-light: #b978e9;
$custom-dark: #000000;
JSON
{
  "hex": "#9438dd",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 221
  },
  "hsl": {
    "h": 273.455,
    "s": 70.815,
    "l": 54.314
  },
  "oklch": {
    "l": 0.55304,
    "c": 0.2356,
    "h": 305.1
  },
  "luminance": 0.14345
}

Semantic roles & 50–950 ramp

primary
#9438DD
secondary
#B4DB95
accent
#EE3A8A
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#120916
muted
#817B84

Preview Lab

Preview with #9438DD

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

Preview Lab → · Contrast checker → · Palette generator →

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