#9038CF#9038CF

#9038CF is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.221 H 306.9°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#9038CF
RGBrgb(144, 56, 207)
HSLhsl(275, 61%, 52%)
HSVhsv(275, 73%, 81%)
CMYKcmyk(30.4%, 72.9%, 0%, 18.8%)
CIE-LABlab(43.16, 61.81, -62.25)
CIE-LCHlch(43.16, 87.73, 314.80°)
OKLaboklab(53.76% 0.1328 -0.1768)
OKLCHoklch(53.76% 0.221 306.9)
XYZxyz(24.1758, 13.2629, 60.3058)
Luminance0.1326 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9038CF #77CF38
analogous
#4538CF #9038CF #CF38C3
triadic
#9038CF #CF9038 #38CF90
tetradic
#9038CF #CF4538 #77CF38 #38C3CF
square
#9038CF #CF4538 #77CF38 #38C3CF
split-complementary
#9038CF #C3CF38 #38CF45
monochromatic
#4D1B71 #6F27A3 #9038CF #AC69DB #C79BE7

Accessibility & contrast

On white

5.75
#9038CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#9038CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9038CF
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9038CF#FFFFFF#000000##FFFFFF
##9038CF1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#855C81
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9038cf;
/* rgb */ color: rgb(144, 56, 207);
/* oklch */ color: oklch(53.8% 0.221 306.9);
Tailwind
colors: {
  custom: {
    50: '#b677df',
    500: '#9038cf',
    950: '#000000',
  },
}
SCSS
$custom: #9038cf;
$custom-light: #b677df;
$custom-dark: #000000;
JSON
{
  "hex": "#9038cf",
  "rgb": {
    "r": 144,
    "g": 56,
    "b": 207
  },
  "hsl": {
    "h": 274.967,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.53761,
    "c": 0.22116,
    "h": 306.9
  },
  "luminance": 0.13263
}

Semantic roles & 50–950 ramp

primary
#9038CF
secondary
#ACD390
accent
#E44487
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120915
muted
#817B83

Preview Lab

Preview with #9038CF

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

Preview Lab → · Contrast checker → · Palette generator →

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