#9438C8#9438C8

#9438C8 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.216 H 310.2°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9438C8
RGBrgb(148, 56, 200)
HSLhsl(278, 57%, 50%)
HSVhsv(278, 72%, 78%)
CMYKcmyk(26%, 72%, 0%, 21.6%)
CIE-LABlab(43.20, 61.06, -58.10)
CIE-LCHlch(43.20, 84.28, 316.42°)
OKLaboklab(53.75% 0.1392 -0.1645)
OKLCHoklch(53.75% 0.216 310.2)
XYZxyz(24.0502, 13.2949, 55.9316)
Luminance0.1329 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438C8 #6CC838
analogous
#4C38C8 #9438C8 #C838B4
triadic
#9438C8 #C89438 #38C894
tetradic
#9438C8 #C84C38 #6CC838 #38B4C8
square
#9438C8 #C84C38 #6CC838 #38B4C8
split-complementary
#9438C8 #B4C838 #38C84C
monochromatic
#4D1D69 #712A99 #9438C8 #AE68D5 #C898E3

Accessibility & contrast

On white

5.74
#9438C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9438C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438C8
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438C8#FFFFFF#000000##FFFFFF
##9438C81.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062CC
Deuteranopia (green-blind)
#1B67C5
Tritanopia (blue-blind)
#8D597D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9438c8;
/* rgb */ color: rgb(148, 56, 200);
/* oklch */ color: oklch(53.8% 0.216 310.2);
Tailwind
colors: {
  custom: {
    50: '#b877da',
    500: '#9438c8',
    950: '#000000',
  },
}
SCSS
$custom: #9438c8;
$custom-light: #b877da;
$custom-dark: #000000;
JSON
{
  "hex": "#9438c8",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 200
  },
  "hsl": {
    "h": 278.333,
    "s": 56.693,
    "l": 50.196
  },
  "oklch": {
    "l": 0.53752,
    "c": 0.21551,
    "h": 310.2
  },
  "luminance": 0.13294
}

Semantic roles & 50–950 ramp

primary
#9438C8
secondary
#A5CE8E
accent
#E0487F
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9438C8

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

Preview Lab → · Contrast checker → · Palette generator →

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