#9140CB#9140CB

#9140CB is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 54.5% C 0.208 H 307.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9140CB
RGBrgb(145, 64, 203)
HSLhsl(275, 57%, 52%)
HSVhsv(275, 68%, 80%)
CMYKcmyk(28.6%, 68.5%, 0%, 20.4%)
CIE-LABlab(44.23, 57.67, -58.20)
CIE-LCHlch(44.23, 81.93, 314.74°)
OKLaboklab(54.46% 0.1268 -0.1649)
OKLCHoklch(54.46% 0.208 307.5)
XYZxyz(24.2877, 13.9987, 57.9109)
Luminance0.1400 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140CB #7ACB40
analogous
#4B40CB #9140CB #CB40C0
triadic
#9140CB #CB9140 #40CB91
tetradic
#9140CB #CB4B40 #7ACB40 #40C0CB
square
#9140CB #CB4B40 #7ACB40 #40C0CB
split-complementary
#9140CB #C0CB40 #40CB4B
monochromatic
#4F1F72 #712CA2 #9140CB #AD70D8 #C8A0E5

Accessibility & contrast

On white

5.53
#9140CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9140CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140CB
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140CB#FFFFFF#000000##FFFFFF
##9140CB1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066CF
Deuteranopia (green-blind)
#1D69C8
Tritanopia (blue-blind)
#885F81
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9140cb;
/* rgb */ color: rgb(145, 64, 203);
/* oklch */ color: oklch(54.5% 0.208 307.5);
Tailwind
colors: {
  custom: {
    50: '#b67bdc',
    500: '#9140cb',
    950: '#000000',
  },
}
SCSS
$custom: #9140cb;
$custom-light: #b67bdc;
$custom-dark: #000000;
JSON
{
  "hex": "#9140cb",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 203
  },
  "hsl": {
    "h": 274.964,
    "s": 57.202,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54464,
    "c": 0.20801,
    "h": 307.5
  },
  "luminance": 0.13998
}

Semantic roles & 50–950 ramp

primary
#9140CB
secondary
#AED295
accent
#E04787
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9140CB

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

Preview Lab → · Contrast checker → · Palette generator →

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