#9438CB#9438CB

#9438CB is a mid, highly saturated violet. Relative luminance 0.134; OKLCH L 54.0% C 0.218 H 309.5°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9438CB
RGBrgb(148, 56, 203)
HSLhsl(278, 59%, 51%)
HSVhsv(278, 72%, 80%)
CMYKcmyk(27.1%, 72.4%, 0%, 20.4%)
CIE-LABlab(43.41, 61.70, -59.50)
CIE-LCHlch(43.41, 85.71, 316.04°)
OKLaboklab(53.97% 0.1388 -0.1686)
OKLCHoklch(53.97% 0.218 309.5)
XYZxyz(24.4043, 13.4365, 57.7962)
Luminance0.1344 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438CB #6FCB38
analogous
#4A38CB #9438CB #CB38B8
triadic
#9438CB #CB9438 #38CB94
tetradic
#9438CB #CB4A38 #6FCB38 #38B8CB
square
#9438CB #CB4A38 #6FCB38 #38B8CB
split-complementary
#9438CB #B8CB38 #38CB4A
monochromatic
#4E1C6C #71299D #9438CB #AE69D8 #C899E4

Accessibility & contrast

On white

5.70
#9438CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9438CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438CB
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438CB#FFFFFF#000000##FFFFFF
##9438CB1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063CF
Deuteranopia (green-blind)
#1368C8
Tritanopia (blue-blind)
#8C5A7E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9438cb;
/* rgb */ color: rgb(148, 56, 203);
/* oklch */ color: oklch(54.0% 0.218 309.5);
Tailwind
colors: {
  custom: {
    50: '#b877dc',
    500: '#9438cb',
    950: '#000000',
  },
}
SCSS
$custom: #9438cb;
$custom-light: #b877dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9438cb",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 277.551,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.53967,
    "c": 0.21837,
    "h": 309.5
  },
  "luminance": 0.13436
}

Semantic roles & 50–950 ramp

primary
#9438CB
secondary
#A7D08F
accent
#E24680
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9438CB

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

Preview Lab → · Contrast checker → · Palette generator →

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