#9438CD#9438CD

#9438CD is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.1% C 0.220 H 308.9°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).

Color values

HEX#9438CD
RGBrgb(148, 56, 205)
HSLhsl(277, 60%, 51%)
HSVhsv(277, 73%, 80%)
CMYKcmyk(27.8%, 72.7%, 0%, 19.6%)
CIE-LABlab(43.55, 62.13, -60.43)
CIE-LCHlch(43.55, 86.67, 315.80°)
OKLaboklab(54.11% 0.1385 -0.1713)
OKLCHoklch(54.11% 0.22 308.9)
XYZxyz(24.6441, 13.5325, 59.0596)
Luminance0.1353 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438CD #71CD38
analogous
#4938CD #9438CD #CD38BB
triadic
#9438CD #CD9438 #38CD94
tetradic
#9438CD #CD4938 #71CD38 #38BBCD
square
#9438CD #CD4938 #71CD38 #38BBCD
split-complementary
#9438CD #BBCD38 #38CD49
monochromatic
#4F1C6F #7228A0 #9438CD #AE69D9 #C99AE6

Accessibility & contrast

On white

5.67
#9438CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9438CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438CD
5.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438CD#FFFFFF#000000##FFFFFF
##9438CD1.005.673.715.67
#FFFFFF5.671.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0C68CA
Tritanopia (blue-blind)
#8B5B80
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9438cd;
/* rgb */ color: rgb(148, 56, 205);
/* oklch */ color: oklch(54.1% 0.220 308.9);
Tailwind
colors: {
  custom: {
    50: '#b877dd',
    500: '#9438cd',
    950: '#000000',
  },
}
SCSS
$custom: #9438cd;
$custom-light: #b877dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9438cd",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 277.047,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.54112,
    "c": 0.22029,
    "h": 308.9
  },
  "luminance": 0.13532
}

Semantic roles & 50–950 ramp

primary
#9438CD
secondary
#A9D18F
accent
#E34581
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9438CD

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

Preview Lab → · Contrast checker → · Palette generator →

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