#9140DF#9140DF

#9140DF is a mid, highly saturated violet. Relative luminance 0.150; OKLCH L 55.9% C 0.228 H 302.8°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#9140DF
RGBrgb(145, 64, 223)
HSLhsl(271, 71%, 56%)
HSVhsv(271, 71%, 87%)
CMYKcmyk(35%, 71.3%, 0%, 12.5%)
CIE-LABlab(45.65, 62.23, -67.36)
CIE-LCHlch(45.65, 91.71, 312.73°)
OKLaboklab(55.93% 0.1238 -0.1919)
OKLCHoklch(55.93% 0.228 302.8)
XYZxyz(26.8266, 15.0142, 71.2825)
Luminance0.1501 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140DF #8EDF40
analogous
#4240DF #9140DF #DF40DD
triadic
#9140DF #DF9140 #40DF91
tetradic
#9140DF #DF4240 #8EDF40 #40DDDF
square
#9140DF #DF4240 #8EDF40 #40DDDF
split-complementary
#9140DF #DDDF40 #40DF42
monochromatic
#53188D #7220C1 #9140DF #AF74E8 #CDA9F1

Accessibility & contrast

On white

5.25
#9140DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#9140DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140DF
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140DF#FFFFFF#000000##FFFFFF
##9140DF1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BE4
Deuteranopia (green-blind)
#006CDC
Tritanopia (blue-blind)
#81678C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9140df;
/* rgb */ color: rgb(145, 64, 223);
/* oklch */ color: oklch(55.9% 0.228 302.8);
Tailwind
colors: {
  custom: {
    50: '#b77cea',
    500: '#9140df',
    950: '#000000',
  },
}
SCSS
$custom: #9140df;
$custom-light: #b77cea;
$custom-dark: #000000;
JSON
{
  "hex": "#9140df",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 223
  },
  "hsl": {
    "h": 270.566,
    "s": 71.3,
    "l": 56.275
  },
  "oklch": {
    "l": 0.55925,
    "c": 0.22832,
    "h": 302.8
  },
  "luminance": 0.15014
}

Semantic roles & 50–950 ramp

primary
#9140DF
secondary
#BDDE9D
accent
#EE3A92
background
#FBF7FE
surface
#F7EEFD
border
#D0C9D5
text
#120A16
muted
#817C84

Preview Lab

Preview with #9140DF

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

Preview Lab → · Contrast checker → · Palette generator →

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