#9438CA#9438CA

#9438CA is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 53.9% C 0.217 H 309.7°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#9438CA
RGBrgb(148, 56, 202)
HSLhsl(278, 58%, 51%)
HSVhsv(278, 72%, 79%)
CMYKcmyk(26.7%, 72.3%, 0%, 20.8%)
CIE-LABlab(43.34, 61.49, -59.03)
CIE-LCHlch(43.34, 85.24, 316.17°)
OKLaboklab(53.9% 0.1389 -0.1672)
OKLCHoklch(53.9% 0.217 309.7)
XYZxyz(24.2855, 13.3890, 57.1707)
Luminance0.1339 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438CA #6ECA38
analogous
#4B38CA #9438CA #CA38B7
triadic
#9438CA #CA9438 #38CA94
tetradic
#9438CA #CA4B38 #6ECA38 #38B7CA
square
#9438CA #CA4B38 #6ECA38 #38B7CA
split-complementary
#9438CA #B7CA38 #38CA4B
monochromatic
#4E1D6B #71299B #9438CA #AE68D7 #C899E4

Accessibility & contrast

On white

5.71
#9438CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#9438CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438CA
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438CA#FFFFFF#000000##FFFFFF
##9438CA1.005.713.685.71
#FFFFFF5.711.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CE
Deuteranopia (green-blind)
#1668C7
Tritanopia (blue-blind)
#8C597E
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9438ca;
/* rgb */ color: rgb(148, 56, 202);
/* oklch */ color: oklch(53.9% 0.217 309.7);
Tailwind
colors: {
  custom: {
    50: '#b877db',
    500: '#9438ca',
    950: '#000000',
  },
}
SCSS
$custom: #9438ca;
$custom-light: #b877db;
$custom-dark: #000000;
JSON
{
  "hex": "#9438ca",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 202
  },
  "hsl": {
    "h": 277.808,
    "s": 57.937,
    "l": 50.588
  },
  "oklch": {
    "l": 0.53895,
    "c": 0.21742,
    "h": 309.7
  },
  "luminance": 0.13389
}

Semantic roles & 50–950 ramp

primary
#9438CA
secondary
#A6CF8E
accent
#E14780
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9438CA

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

Preview Lab → · Contrast checker → · Palette generator →

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