#9438C2#9438C2

#9438C2 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.3% C 0.210 H 311.9°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#9438C2
RGBrgb(148, 56, 194)
HSLhsl(280, 55%, 49%)
HSVhsv(280, 71%, 76%)
CMYKcmyk(23.7%, 71.1%, 0%, 23.9%)
CIE-LABlab(42.79, 59.79, -55.27)
CIE-LCHlch(42.79, 81.42, 317.25°)
OKLaboklab(53.33% 0.14 -0.1562)
OKLCHoklch(53.33% 0.21 311.9)
XYZxyz(23.3627, 13.0199, 52.3109)
Luminance0.1302 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438C2 #66C238
analogous
#4F38C2 #9438C2 #C238AB
triadic
#9438C2 #C29438 #38C294
tetradic
#9438C2 #C24F38 #66C238 #38ABC2
square
#9438C2 #C24F38 #66C238 #38ABC2
split-complementary
#9438C2 #ABC238 #38C24F
monochromatic
#4C1D63 #702A93 #9438C2 #AE65D2 #C794E0

Accessibility & contrast

On white

5.83
#9438C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#9438C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438C2
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438C2#FFFFFF#000000##FFFFFF
##9438C21.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061C6
Deuteranopia (green-blind)
#2667BF
Tritanopia (blue-blind)
#8E5679
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9438c2;
/* rgb */ color: rgb(148, 56, 194);
/* oklch */ color: oklch(53.3% 0.210 311.9);
Tailwind
colors: {
  custom: {
    50: '#b877d5',
    500: '#9438c2',
    950: '#000000',
  },
}
SCSS
$custom: #9438c2;
$custom-light: #b877d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9438c2",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 194
  },
  "hsl": {
    "h": 280,
    "s": 55.2,
    "l": 49.02
  },
  "oklch": {
    "l": 0.5333,
    "c": 0.20978,
    "h": 311.9
  },
  "luminance": 0.13019
}

Semantic roles & 50–950 ramp

primary
#9438C2
secondary
#A0CB8A
accent
#DF497B
background
#FBF7FD
surface
#F7EEFA
border
#D0C9D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9438C2

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

Preview Lab → · Contrast checker → · Palette generator →

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