#9038CD#9038CD

#9038CD is a mid, highly saturated violet. Relative luminance 0.132; OKLCH L 53.6% C 0.219 H 307.4°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#9038CD
RGBrgb(144, 56, 205)
HSLhsl(275, 60%, 51%)
HSVhsv(275, 73%, 80%)
CMYKcmyk(29.8%, 72.7%, 0%, 19.6%)
CIE-LABlab(43.01, 61.37, -61.33)
CIE-LCHlch(43.01, 86.77, 315.02°)
OKLaboklab(53.61% 0.1332 -0.1741)
OKLCHoklch(53.61% 0.219 307.4)
XYZxyz(23.9329, 13.1657, 59.0262)
Luminance0.1316 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038CD #75CD38
analogous
#4538CD #9038CD #CD38BF
triadic
#9038CD #CD9038 #38CD90
tetradic
#9038CD #CD4538 #75CD38 #38BFCD
square
#9038CD #CD4538 #75CD38 #38BFCD
split-complementary
#9038CD #BFCD38 #38CD45
monochromatic
#4D1C6F #6F28A0 #9038CD #AB69D9 #C79AE6

Accessibility & contrast

On white

5.78
#9038CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9038CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038CD
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038CD#FFFFFF#000000##FFFFFF
##9038CD1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D1
Deuteranopia (green-blind)
#0066CA
Tritanopia (blue-blind)
#865B80
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9038cd;
/* rgb */ color: rgb(144, 56, 205);
/* oklch */ color: oklch(53.6% 0.219 307.4);
Tailwind
colors: {
  custom: {
    50: '#b677dd',
    500: '#9038cd',
    950: '#000000',
  },
}
SCSS
$custom: #9038cd;
$custom-light: #b677dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9038cd",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 205
  },
  "hsl": {
    "h": 275.436,
    "s": 59.839,
    "l": 51.176
  },
  "oklch": {
    "l": 0.53613,
    "c": 0.21921,
    "h": 307.4
  },
  "luminance": 0.13165
}

Semantic roles & 50–950 ramp

primary
#9038CD
secondary
#AAD18F
accent
#E34586
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9038CD

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

Preview Lab → · Contrast checker → · Palette generator →

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