#9052BE#9052BE

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

Color values

HEX#9052BE
RGBrgb(144, 82, 190)
HSLhsl(274, 45%, 53%)
HSVhsv(274, 57%, 75%)
CMYKcmyk(24.2%, 56.8%, 0%, 25.5%)
CIE-LABlab(46.55, 45.57, -46.94)
CIE-LCHlch(46.55, 65.42, 314.15°)
OKLaboklab(55.86% 0.1047 -0.132)
OKLCHoklch(55.86% 0.168 308.4)
XYZxyz(23.8113, 15.6819, 50.4777)
Luminance0.1568 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9052BE #80BE52
analogous
#5A52BE #9052BE #BE52B6
triadic
#9052BE #BE9052 #52BE90
tetradic
#9052BE #BE5A52 #80BE52 #52B6BE
square
#9052BE #BE5A52 #80BE52 #52B6BE
split-complementary
#9052BE #B6BE52 #52BE5A
monochromatic
#50296D #703A99 #9052BE #AD7ECF #C9ABDF

Accessibility & contrast

On white

5.08
#9052BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9052BE
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9052BE#FFFFFF#000000##FFFFFF
##9052BE1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6CC2
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#896680
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9052be;
/* rgb */ color: rgb(144, 82, 190);
/* oklch */ color: oklch(55.9% 0.168 308.4);
Tailwind
colors: {
  custom: {
    50: '#b385d2',
    500: '#9052be',
    950: '#000000',
  },
}
SCSS
$custom: #9052be;
$custom-light: #b385d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9052be",
  "rgb": {
    "r": 144,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 274.444,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.55857,
    "c": 0.16847,
    "h": 308.4
  },
  "luminance": 0.15682
}

Semantic roles & 50–950 ramp

primary
#9052BE
secondary
#B2CD9F
accent
#D5538A
background
#FBF8FC
surface
#F6EFF9
border
#D0CAD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #9052BE

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

Preview Lab → · Contrast checker → · Palette generator →

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