#9052DB#9052DB

#9052DB is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.7% C 0.201 H 301.1°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9052DB
RGBrgb(144, 82, 219)
HSLhsl(267, 66%, 59%)
HSVhsv(267, 63%, 86%)
CMYKcmyk(34.2%, 62.6%, 0%, 14.1%)
CIE-LABlab(48.36, 52.50, -60.71)
CIE-LCHlch(48.36, 80.26, 310.85°)
OKLaboklab(57.75% 0.1041 -0.1724)
OKLCHoklch(57.75% 0.201 301.1)
XYZxyz(27.3020, 17.0782, 68.8621)
Luminance0.1708 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052DB #9DDB52
analogous
#5259DB #9052DB #D452DB
triadic
#9052DB #DB9052 #52DB90
tetradic
#9052DB #DB5259 #9DDB52 #52DBD4
square
#9052DB #DB5259 #9DDB52 #52DBD4
split-complementary
#9052DB #DBD452 #59DB52
monochromatic
#541F94 #7029C6 #9052DB #B185E6 #D1B7F0

Accessibility & contrast

On white

4.76
#9052DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9052DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052DB
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052DB#FFFFFF#000000##FFFFFF
##9052DB1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DF
Deuteranopia (green-blind)
#1F72D8
Tritanopia (blue-blind)
#80708F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9052db;
/* rgb */ color: rgb(144, 82, 219);
/* oklch */ color: oklch(57.7% 0.201 301.1);
Tailwind
colors: {
  custom: {
    50: '#b586e7',
    500: '#9052db',
    950: '#000000',
  },
}
SCSS
$custom: #9052db;
$custom-light: #b586e7;
$custom-dark: #000000;
JSON
{
  "hex": "#9052db",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 219
  },
  "hsl": {
    "h": 267.153,
    "s": 65.55,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57749,
    "c": 0.20141,
    "h": 301.1
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#9052DB
secondary
#C7DFAA
accent
#E93F9C
background
#FBF8FE
surface
#F6F0FC
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9052DB

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

Preview Lab → · Contrast checker → · Palette generator →

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