#9438D0#9438D0

#9438D0 is a mid, highly saturated violet. Relative luminance 0.137; OKLCH L 54.3% C 0.223 H 308.2°. Best body text is #FFFFFF at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#9438D0
RGBrgb(148, 56, 208)
HSLhsl(276, 62%, 52%)
HSVhsv(276, 73%, 82%)
CMYKcmyk(28.8%, 73.1%, 0%, 18.4%)
CIE-LABlab(43.77, 62.78, -61.81)
CIE-LCHlch(43.77, 88.10, 315.44°)
OKLaboklab(54.33% 0.138 -0.1754)
OKLCHoklch(54.33% 0.223 308.2)
XYZxyz(25.0097, 13.6787, 60.9850)
Luminance0.1368 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9438D0 #74D038
analogous
#4838D0 #9438D0 #D038C0
triadic
#9438D0 #D09438 #38D094
tetradic
#9438D0 #D04838 #74D038 #38C0D0
square
#9438D0 #D04838 #74D038 #38C0D0
split-complementary
#9438D0 #C0D038 #38D048
monochromatic
#501B73 #7327A4 #9438D0 #AF6ADC #C99BE7

Accessibility & contrast

On white

5.62
#9438D0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#9438D0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9438D0
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9438D0#FFFFFF#000000##FFFFFF
##9438D01.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064D4
Deuteranopia (green-blind)
#0068CD
Tritanopia (blue-blind)
#8A5C81
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9438d0;
/* rgb */ color: rgb(148, 56, 208);
/* oklch */ color: oklch(54.3% 0.223 308.2);
Tailwind
colors: {
  custom: {
    50: '#b977df',
    500: '#9438d0',
    950: '#000000',
  },
}
SCSS
$custom: #9438d0;
$custom-light: #b977df;
$custom-dark: #000000;
JSON
{
  "hex": "#9438d0",
  "rgb": {
    "r": 148,
    "g": 56,
    "b": 208
  },
  "hsl": {
    "h": 276.316,
    "s": 61.789,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5433,
    "c": 0.22316,
    "h": 308.2
  },
  "luminance": 0.13678
}

Semantic roles & 50–950 ramp

primary
#9438D0
secondary
#ABD391
accent
#E54383
background
#FBF7FD
surface
#F7EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9438D0

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

Preview Lab → · Contrast checker → · Palette generator →

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