#9140D2#9140D2

#9140D2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.0% C 0.215 H 305.8°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9140D2
RGBrgb(145, 64, 210)
HSLhsl(273, 62%, 54%)
HSVhsv(273, 70%, 82%)
CMYKcmyk(31%, 69.5%, 0%, 17.6%)
CIE-LABlab(44.72, 59.25, -61.45)
CIE-LCHlch(44.72, 85.36, 313.96°)
OKLaboklab(54.96% 0.1258 -0.1745)
OKLCHoklch(54.96% 0.215 305.8)
XYZxyz(25.1408, 14.3399, 62.4037)
Luminance0.1434 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140D2 #81D240
analogous
#4840D2 #9140D2 #D240CA
triadic
#9140D2 #D29140 #40D291
tetradic
#9140D2 #D24840 #81D240 #40CAD2
square
#9140D2 #D24840 #81D240 #40CAD2
split-complementary
#9140D2 #CAD240 #40D248
monochromatic
#511D7B #7229AC #9140D2 #AE72DE #CAA3E9

Accessibility & contrast

On white

5.43
#9140D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9140D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140D2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140D2#FFFFFF#000000##FFFFFF
##9140D21.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D6
Deuteranopia (green-blind)
#046ACF
Tritanopia (blue-blind)
#856185
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9140d2;
/* rgb */ color: rgb(145, 64, 210);
/* oklch */ color: oklch(55.0% 0.215 305.8);
Tailwind
colors: {
  custom: {
    50: '#b67be1',
    500: '#9140d2',
    950: '#000000',
  },
}
SCSS
$custom: #9140d2;
$custom-light: #b67be1;
$custom-dark: #000000;
JSON
{
  "hex": "#9140d2",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 210
  },
  "hsl": {
    "h": 273.288,
    "s": 61.864,
    "l": 53.725
  },
  "oklch": {
    "l": 0.54964,
    "c": 0.21513,
    "h": 305.8
  },
  "luminance": 0.1434
}

Semantic roles & 50–950 ramp

primary
#9140D2
secondary
#B3D698
accent
#E5438B
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9140D2

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

Preview Lab → · Contrast checker → · Palette generator →

#9140D2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva