#9030C2#9030C2

#9030C2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.0% C 0.217 H 310.9°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#9030C2
RGBrgb(144, 48, 194)
HSLhsl(279, 60%, 47%)
HSVhsv(279, 75%, 76%)
CMYKcmyk(25.8%, 75.3%, 0%, 23.9%)
CIE-LABlab(41.12, 62.16, -58.01)
CIE-LCHlch(41.12, 85.02, 316.98°)
OKLaboklab(52.03% 0.1425 -0.1643)
OKLCHoklch(52.03% 0.217 310.9)
XYZxyz(22.2943, 11.9388, 52.1585)
Luminance0.1194 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9030C2 #62C230
analogous
#4730C2 #9030C2 #C230AB
triadic
#9030C2 #C29030 #30C290
tetradic
#9030C2 #C24730 #62C230 #30ABC2
square
#9030C2 #C24730 #62C230 #30ABC2
split-complementary
#9030C2 #ABC230 #30C247
monochromatic
#471860 #6C2491 #9030C2 #AB59D6 #C48AE2

Accessibility & contrast

On white

6.20
#9030C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9030C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9030C2
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9030C2#FFFFFF#000000##FFFFFF
##9030C21.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC6
Deuteranopia (green-blind)
#0F63BF
Tritanopia (blue-blind)
#895277
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9030c2;
/* rgb */ color: rgb(144, 48, 194);
/* oklch */ color: oklch(52.0% 0.217 310.9);
Tailwind
colors: {
  custom: {
    50: '#b572d5',
    500: '#9030c2',
    950: '#000000',
  },
}
SCSS
$custom: #9030c2;
$custom-light: #b572d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9030c2",
  "rgb": {
    "r": 144,
    "g": 48,
    "b": 194
  },
  "hsl": {
    "h": 279.452,
    "s": 60.331,
    "l": 47.451
  },
  "oklch": {
    "l": 0.52026,
    "c": 0.21748,
    "h": 310.9
  },
  "luminance": 0.11938
}

Semantic roles & 50–950 ramp

primary
#9030C2
secondary
#9BCC82
accent
#E3447B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9030C2

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

Preview Lab → · Contrast checker → · Palette generator →

#9030C2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva