#9140CF#9140CF

#9140CF is a mid, highly saturated violet. Relative luminance 0.142; OKLCH L 54.7% C 0.212 H 306.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9140CF
RGBrgb(145, 64, 207)
HSLhsl(274, 60%, 53%)
HSVhsv(274, 69%, 81%)
CMYKcmyk(30%, 69.1%, 0%, 18.8%)
CIE-LABlab(44.51, 58.57, -60.06)
CIE-LCHlch(44.51, 83.89, 314.28°)
OKLaboklab(54.75% 0.1263 -0.1704)
OKLCHoklch(54.75% 0.212 306.5)
XYZxyz(24.7705, 14.1918, 60.4537)
Luminance0.1419 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9140CF #7ECF40
analogous
#4940CF #9140CF #CF40C6
triadic
#9140CF #CF9140 #40CF91
tetradic
#9140CF #CF4940 #7ECF40 #40C6CF
square
#9140CF #CF4940 #7ECF40 #40C6CF
split-complementary
#9140CF #C6CF40 #40CF49
monochromatic
#501E77 #712AA8 #9140CF #AD71DB #C9A2E8

Accessibility & contrast

On white

5.47
#9140CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#9140CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9140CF
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9140CF#FFFFFF#000000##FFFFFF
##9140CF1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067D3
Deuteranopia (green-blind)
#126ACC
Tritanopia (blue-blind)
#866083
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9140cf;
/* rgb */ color: rgb(145, 64, 207);
/* oklch */ color: oklch(54.7% 0.212 306.5);
Tailwind
colors: {
  custom: {
    50: '#b67bde',
    500: '#9140cf',
    950: '#000000',
  },
}
SCSS
$custom: #9140cf;
$custom-light: #b67bde;
$custom-dark: #000000;
JSON
{
  "hex": "#9140cf",
  "rgb": {
    "r": 145,
    "g": 64,
    "b": 207
  },
  "hsl": {
    "h": 273.986,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.54748,
    "c": 0.21208,
    "h": 306.5
  },
  "luminance": 0.14192
}

Semantic roles & 50–950 ramp

primary
#9140CF
secondary
#B1D497
accent
#E34589
background
#FBF7FD
surface
#F6EEFB
border
#D0C9D4
text
#120A15
muted
#817C83

Preview Lab

Preview with #9140CF

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

Preview Lab → · Contrast checker → · Palette generator →

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