#9A2EBF#9A2EBF

#9A2EBF is a mid, highly saturated purple. Relative luminance 0.126; OKLCH L 53.0% C 0.220 H 315.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#9A2EBF
RGBrgb(154, 46, 191)
HSLhsl(285, 61%, 46%)
HSVhsv(285, 76%, 75%)
CMYKcmyk(19.4%, 75.9%, 0%, 25.1%)
CIE-LABlab(42.13, 64.16, -54.54)
CIE-LCHlch(42.13, 84.21, 319.63°)
OKLaboklab(52.98% 0.1575 -0.1538)
OKLCHoklch(52.98% 0.22 315.7)
XYZxyz(23.7059, 12.5865, 50.4608)
Luminance0.1259 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A2EBF #53BF2E
analogous
#522EBF #9A2EBF #BF2E9C
triadic
#9A2EBF #BF9A2E #2EBF9A
tetradic
#9A2EBF #BF522E #53BF2E #2E9CBF
square
#9A2EBF #BF522E #53BF2E #2E9CBF
split-complementary
#9A2EBF #9CBF2E #2EBF52
monochromatic
#4A165C #72228E #9A2EBF #B554D6 #CA86E2

Accessibility & contrast

On white

5.97
#9A2EBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#9A2EBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A2EBF
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A2EBF#FFFFFF#000000##FFFFFF
##9A2EBF1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC3
Deuteranopia (green-blind)
#2A66BC
Tritanopia (blue-blind)
#974E75
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9a2ebf;
/* rgb */ color: rgb(154, 46, 191);
/* oklch */ color: oklch(53.0% 0.220 315.7);
Tailwind
colors: {
  custom: {
    50: '#bc72d3',
    500: '#9a2ebf',
    950: '#000000',
  },
}
SCSS
$custom: #9a2ebf;
$custom-light: #bc72d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9a2ebf",
  "rgb": {
    "r": 154,
    "g": 46,
    "b": 191
  },
  "hsl": {
    "h": 284.69,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.52977,
    "c": 0.2201,
    "h": 315.7
  },
  "luminance": 0.12586
}

Semantic roles & 50–950 ramp

primary
#9A2EBF
secondary
#91CB7E
accent
#E4446D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#120914
muted
#817B83

Preview Lab

Preview with #9A2EBF

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

Preview Lab → · Contrast checker → · Palette generator →

#9A2EBF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva