#9C30EA#9C30EA

#9C30EA is a mid, highly saturated violet. Relative luminance 0.151; OKLCH L 56.6% C 0.257 H 305.6°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#9C30EA
RGBrgb(156, 48, 234)
HSLhsl(275, 82%, 55%)
HSVhsv(275, 79%, 92%)
CMYKcmyk(33.3%, 79.5%, 0%, 8.2%)
CIE-LABlab(45.80, 72.58, -73.30)
CIE-LCHlch(45.80, 103.16, 314.72°)
OKLaboklab(56.59% 0.1495 -0.2088)
OKLCHoklch(56.59% 0.257 305.6)
XYZxyz(29.6152, 15.1226, 79.1847)
Luminance0.1512 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C30EA #7EEA30
analogous
#3F30EA #9C30EA #EA30DB
triadic
#9C30EA #EA9C30 #30EA9C
tetradic
#9C30EA #EA3F30 #7EEA30 #30DBEA
square
#9C30EA #EA3F30 #7EEA30 #30DBEA
split-complementary
#9C30EA #DBEA30 #30EA3F
monochromatic
#5A0F91 #7D14C8 #9C30EA #B768F0 #D19FF5

Accessibility & contrast

On white

5.22
#9C30EA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#9C30EA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C30EA
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C30EA#FFFFFF#000000##FFFFFF
##9C30EA1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006AEF
Deuteranopia (green-blind)
#006DE6
Tritanopia (blue-blind)
#8D628E
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9c30ea;
/* rgb */ color: rgb(156, 48, 234);
/* oklch */ color: oklch(56.6% 0.257 305.6);
Tailwind
colors: {
  custom: {
    50: '#c076f2',
    500: '#9c30ea',
    950: '#000000',
  },
}
SCSS
$custom: #9c30ea;
$custom-light: #c076f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c30ea",
  "rgb": {
    "r": 156,
    "g": 48,
    "b": 234
  },
  "hsl": {
    "h": 274.839,
    "s": 81.579,
    "l": 55.294
  },
  "oklch": {
    "l": 0.56594,
    "c": 0.25683,
    "h": 305.6
  },
  "luminance": 0.15122
}

Semantic roles & 50–950 ramp

primary
#9C30EA
secondary
#B5E294
accent
#F83084
background
#FCF7FE
surface
#F8EEFD
border
#D1C9D5
text
#130917
muted
#827B85

Preview Lab

Preview with #9C30EA

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

Preview Lab → · Contrast checker → · Palette generator →

#9C30EA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva