#9146D5#9146D5

#9146D5 is a mid, highly saturated violet. Relative luminance 0.152; OKLCH L 55.9% C 0.211 H 304.4°. Best body text is #FFFFFF at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#9146D5
RGBrgb(145, 70, 213)
HSLhsl(271, 63%, 55%)
HSVhsv(271, 67%, 84%)
CMYKcmyk(31.9%, 67.1%, 0%, 16.5%)
CIE-LABlab(45.91, 57.19, -61.23)
CIE-LCHlch(45.91, 83.78, 313.04°)
OKLaboklab(55.89% 0.1192 -0.1739)
OKLCHoklch(55.89% 0.211 304.4)
XYZxyz(25.8747, 15.2043, 64.5095)
Luminance0.1520 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9146D5 #8AD546
analogous
#4946D5 #9146D5 #D546D1
triadic
#9146D5 #D59146 #46D591
tetradic
#9146D5 #D54946 #8AD546 #46D1D5
square
#9146D5 #D54946 #8AD546 #46D1D5
split-complementary
#9146D5 #D1D546 #46D549
monochromatic
#531E83 #7229B5 #9146D5 #AF78E0 #CCAAEC

Accessibility & contrast

On white

5.20
#9146D5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#9146D5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9146D5
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9146D5#FFFFFF#000000##FFFFFF
##9146D51.005.204.045.20
#FFFFFF5.201.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD9
Deuteranopia (green-blind)
#106DD2
Tritanopia (blue-blind)
#846688
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #9146d5;
/* rgb */ color: rgb(145, 70, 213);
/* oklch */ color: oklch(55.9% 0.211 304.4);
Tailwind
colors: {
  custom: {
    50: '#b67fe3',
    500: '#9146d5',
    950: '#000000',
  },
}
SCSS
$custom: #9146d5;
$custom-light: #b67fe3;
$custom-dark: #000000;
JSON
{
  "hex": "#9146d5",
  "rgb": {
    "r": 145,
    "g": 70,
    "b": 213
  },
  "hsl": {
    "h": 271.469,
    "s": 62.996,
    "l": 55.49
  },
  "oklch": {
    "l": 0.55885,
    "c": 0.21081,
    "h": 304.4
  },
  "luminance": 0.15204
}

Semantic roles & 50–950 ramp

primary
#9146D5
secondary
#BAD99E
accent
#E64290
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120A15
muted
#817C84

Preview Lab

Preview with #9146D5

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

Preview Lab → · Contrast checker → · Palette generator →

#9146D5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva