#9052DF#9052DF

#9052DF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.0% C 0.206 H 300.3°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9052DF
RGBrgb(144, 82, 223)
HSLhsl(266, 69%, 60%)
HSVhsv(266, 63%, 87%)
CMYKcmyk(35.4%, 63.2%, 0%, 12.5%)
CIE-LABlab(48.63, 53.48, -62.55)
CIE-LCHlch(48.63, 82.30, 310.53°)
OKLaboklab(58.03% 0.1038 -0.1778)
OKLCHoklch(58.03% 0.206 300.3)
XYZxyz(27.8349, 17.2914, 71.6688)
Luminance0.1729 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052DF #A1DF52
analogous
#525BDF #9052DF #D652DF
triadic
#9052DF #DF9052 #52DF90
tetradic
#9052DF #DF525B #A1DF52 #52DFD6
square
#9052DF #DF525B #A1DF52 #52DFD6
split-complementary
#9052DF #DFD652 #5BDF52
monochromatic
#541D9A #7026CE #9052DF #B186E9 #D2B9F2

Accessibility & contrast

On white

4.71
#9052DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9052DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052DF
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052DF#FFFFFF#000000##FFFFFF
##9052DF1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#1472DC
Tritanopia (blue-blind)
#7F7191
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9052df;
/* rgb */ color: rgb(144, 82, 223);
/* oklch */ color: oklch(58.0% 0.206 300.3);
Tailwind
colors: {
  custom: {
    50: '#b686ea',
    500: '#9052df',
    950: '#000000',
  },
}
SCSS
$custom: #9052df;
$custom-light: #b686ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9052df",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 223
  },
  "hsl": {
    "h": 266.383,
    "s": 68.78,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58027,
    "c": 0.20592,
    "h": 300.3
  },
  "luminance": 0.17292
}

Semantic roles & 50–950 ramp

primary
#9052DF
secondary
#CAE2AB
accent
#EC3C9E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9052DF

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

Preview Lab → · Contrast checker → · Palette generator →

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