#9052BF#9052BF

#9052BF is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.9% C 0.170 H 308.1°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#9052BF
RGBrgb(144, 82, 191)
HSLhsl(274, 46%, 54%)
HSVhsv(274, 57%, 75%)
CMYKcmyk(24.6%, 57.1%, 0%, 25.1%)
CIE-LABlab(46.61, 45.80, -47.43)
CIE-LCHlch(46.61, 65.93, 314.00°)
OKLaboklab(55.92% 0.1047 -0.1334)
OKLCHoklch(55.92% 0.17 308.1)
XYZxyz(23.9210, 15.7258, 51.0553)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052BF #81BF52
analogous
#5952BF #9052BF #BF52B8
triadic
#9052BF #BF9052 #52BF90
tetradic
#9052BF #BF5952 #81BF52 #52B8BF
square
#9052BF #BF5952 #81BF52 #52B8BF
split-complementary
#9052BF #B8BF52 #52BF59
monochromatic
#50296E #71399B #9052BF #AD7FD0 #C9ABE0

Accessibility & contrast

On white

5.07
#9052BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#9052BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9052BF
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052BF#FFFFFF#000000##FFFFFF
##9052BF1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B6CC3
Deuteranopia (green-blind)
#436FBC
Tritanopia (blue-blind)
#896681
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9052bf;
/* rgb */ color: rgb(144, 82, 191);
/* oklch */ color: oklch(55.9% 0.170 308.1);
Tailwind
colors: {
  custom: {
    50: '#b385d3',
    500: '#9052bf',
    950: '#000000',
  },
}
SCSS
$custom: #9052bf;
$custom-light: #b385d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9052bf",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 191
  },
  "hsl": {
    "h": 274.128,
    "s": 45.992,
    "l": 53.529
  },
  "oklch": {
    "l": 0.55918,
    "c": 0.16959,
    "h": 308.1
  },
  "luminance": 0.15725
}

Semantic roles & 50–950 ramp

primary
#9052BF
secondary
#B3CE9F
accent
#D6528B
background
#FBF8FD
surface
#F6EFFA
border
#D0CAD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #9052BF

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

Preview Lab → · Contrast checker → · Palette generator →

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