#9530DB#9530DB

#9530DB is a mid, highly saturated violet. Relative luminance 0.136; OKLCH L 54.6% C 0.242 H 306.5°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9530DB
RGBrgb(149, 48, 219)
HSLhsl(275, 70%, 52%)
HSVhsv(275, 78%, 86%)
CMYKcmyk(32%, 78.1%, 0%, 14.1%)
CIE-LABlab(43.68, 68.31, -68.27)
CIE-LCHlch(43.68, 96.57, 315.02°)
OKLaboklab(54.55% 0.1438 -0.1943)
OKLCHoklch(54.55% 0.242 306.5)
XYZxyz(26.2348, 13.6182, 68.2506)
Luminance0.1362 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9530DB #76DB30
analogous
#4030DB #9530DB #DB30CB
triadic
#9530DB #DB9530 #30DB95
tetradic
#9530DB #DB4030 #76DB30 #30CBDB
square
#9530DB #DB4030 #76DB30 #30CBDB
split-complementary
#9530DB #CBDB30 #30DB40
monochromatic
#52157B #741EAF #9530DB #B064E4 #CA98ED

Accessibility & contrast

On white

5.64
#9530DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9530DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9530DB
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9530DB#FFFFFF#000000##FFFFFF
##9530DB1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064E0
Deuteranopia (green-blind)
#0068D8
Tritanopia (blue-blind)
#895D86
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9530db;
/* rgb */ color: rgb(149, 48, 219);
/* oklch */ color: oklch(54.6% 0.242 306.5);
Tailwind
colors: {
  custom: {
    50: '#ba74e7',
    500: '#9530db',
    950: '#000000',
  },
}
SCSS
$custom: #9530db;
$custom-light: #ba74e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9530db",
  "rgb": {
    "r": 149,
    "g": 48,
    "b": 219
  },
  "hsl": {
    "h": 275.439,
    "s": 70.37,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54553,
    "c": 0.24173,
    "h": 306.5
  },
  "luminance": 0.13618
}

Semantic roles & 50–950 ramp

primary
#9530DB
secondary
#ADD98E
accent
#ED3B84
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9530DB

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

Preview Lab → · Contrast checker → · Palette generator →

#9530DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva