#9038CE#9038CE

#9038CE is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.7% C 0.220 H 307.2°. Best body text is #FFFFFF at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#9038CE
RGBrgb(144, 56, 206)
HSLhsl(275, 60%, 51%)
HSVhsv(275, 73%, 81%)
CMYKcmyk(30.1%, 72.8%, 0%, 19.2%)
CIE-LABlab(43.08, 61.59, -61.79)
CIE-LCHlch(43.08, 87.25, 314.91°)
OKLaboklab(53.69% 0.133 -0.1755)
OKLCHoklch(53.69% 0.22 307.2)
XYZxyz(24.0540, 13.2142, 59.6640)
Luminance0.1321 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038CE #76CE38
analogous
#4538CE #9038CE #CE38C1
triadic
#9038CE #CE9038 #38CE90
tetradic
#9038CE #CE4538 #76CE38 #38C1CE
square
#9038CE #CE4538 #76CE38 #38C1CE
split-complementary
#9038CE #C1CE38 #38CE45
monochromatic
#4D1C70 #6F28A1 #9038CE #AB69DA #C79AE6

Accessibility & contrast

On white

5.76
#9038CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9038CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038CE
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038CE#FFFFFF#000000##FFFFFF
##9038CE1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D2
Deuteranopia (green-blind)
#0066CB
Tritanopia (blue-blind)
#865C80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9038ce;
/* rgb */ color: rgb(144, 56, 206);
/* oklch */ color: oklch(53.7% 0.220 307.2);
Tailwind
colors: {
  custom: {
    50: '#b677de',
    500: '#9038ce',
    950: '#000000',
  },
}
SCSS
$custom: #9038ce;
$custom-light: #b677de;
$custom-dark: #000000;
JSON
{
  "hex": "#9038ce",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 206
  },
  "hsl": {
    "h": 275.2,
    "s": 60.484,
    "l": 51.373
  },
  "oklch": {
    "l": 0.53687,
    "c": 0.22019,
    "h": 307.2
  },
  "luminance": 0.13214
}

Semantic roles & 50–950 ramp

primary
#9038CE
secondary
#ABD290
accent
#E44486
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9038CE

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

Preview Lab → · Contrast checker → · Palette generator →

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