#9038C0#9038C0

#9038C0 is a mid, highly saturated violet. Relative luminance 0.126; OKLCH L 52.7% C 0.207 H 310.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#9038C0
RGBrgb(144, 56, 192)
HSLhsl(279, 55%, 49%)
HSVhsv(279, 71%, 75%)
CMYKcmyk(25%, 70.8%, 0%, 24.7%)
CIE-LABlab(42.10, 58.55, -55.26)
CIE-LCHlch(42.10, 80.51, 316.66°)
OKLaboklab(52.68% 0.1351 -0.1563)
OKLCHoklch(52.68% 0.207 310.8)
XYZxyz(22.4284, 12.5639, 51.1025)
Luminance0.1256 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038C0 #68C038
analogous
#4C38C0 #9038C0 #C038AC
triadic
#9038C0 #C09038 #38C090
tetradic
#9038C0 #C04C38 #68C038 #38ACC0
square
#9038C0 #C04C38 #68C038 #38ACC0
split-complementary
#9038C0 #ACC038 #38C04C
monochromatic
#491C61 #6C2A91 #9038C0 #AB64D2 #C493DF

Accessibility & contrast

On white

5.98
#9038C0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#9038C0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038C0
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038C0#FFFFFF#000000##FFFFFF
##9038C01.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC4
Deuteranopia (green-blind)
#2265BD
Tritanopia (blue-blind)
#8A5678
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9038c0;
/* rgb */ color: rgb(144, 56, 192);
/* oklch */ color: oklch(52.7% 0.207 310.8);
Tailwind
colors: {
  custom: {
    50: '#b576d4',
    500: '#9038c0',
    950: '#000000',
  },
}
SCSS
$custom: #9038c0;
$custom-light: #b576d4;
$custom-dark: #000000;
JSON
{
  "hex": "#9038c0",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 192
  },
  "hsl": {
    "h": 278.824,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.52676,
    "c": 0.20659,
    "h": 310.8
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#9038C0
secondary
#A0CB89
accent
#DE4A7E
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9038C0

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

Preview Lab → · Contrast checker → · Palette generator →

#9038C0 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva