#9438CC#9438CC

#9438CC is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.0% C 0.219 H 309.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#9438CC
RGBrgb(148, 56, 204)
HSLhsl(277, 59%, 51%)
HSVhsv(277, 73%, 80%)
CMYKcmyk(27.5%, 72.5%, 0%, 20%)
CIE-LABlab(43.48, 61.92, -59.96)
CIE-LCHlch(43.48, 86.19, 315.92°)
OKLaboklab(54.04% 0.1386 -0.17)
OKLCHoklch(54.04% 0.219 309.2)
XYZxyz(24.5238, 13.4843, 58.4259)
Luminance0.1348 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438CC #70CC38
analogous
#4A38CC #9438CC #CC38BA
triadic
#9438CC #CC9438 #38CC94
tetradic
#9438CC #CC4A38 #70CC38 #38BACC
square
#9438CC #CC4A38 #70CC38 #38BACC
split-complementary
#9438CC #BACC38 #38CC4A
monochromatic
#4F1C6E #72299E #9438CC #AE69D8 #C899E5

Accessibility & contrast

On white

5.68
#9438CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#9438CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438CC
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438CC#FFFFFF#000000##FFFFFF
##9438CC1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D0
Deuteranopia (green-blind)
#1068C9
Tritanopia (blue-blind)
#8C5A7F
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9438cc;
/* rgb */ color: rgb(148, 56, 204);
/* oklch */ color: oklch(54.0% 0.219 309.2);
Tailwind
colors: {
  custom: {
    50: '#b877dc',
    500: '#9438cc',
    950: '#000000',
  },
}
SCSS
$custom: #9438cc;
$custom-light: #b877dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9438cc",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 204
  },
  "hsl": {
    "h": 277.297,
    "s": 59.2,
    "l": 50.98
  },
  "oklch": {
    "l": 0.54039,
    "c": 0.21933,
    "h": 309.2
  },
  "luminance": 0.13484
}

Semantic roles & 50–950 ramp

primary
#9438CC
secondary
#A8D18F
accent
#E24581
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9438CC

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

Preview Lab → · Contrast checker → · Palette generator →

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