#9151CA#9151CA

#9151CA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.6% C 0.184 H 305.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9151CA
RGBrgb(145, 81, 202)
HSLhsl(272, 53%, 55%)
HSVhsv(272, 60%, 79%)
CMYKcmyk(28.2%, 59.9%, 0%, 20.8%)
CIE-LABlab(47.20, 49.15, -52.85)
CIE-LCHlch(47.20, 72.17, 312.92°)
OKLaboklab(56.58% 0.1073 -0.1493)
OKLCHoklch(56.58% 0.184 305.7)
XYZxyz(25.2779, 16.1691, 57.6549)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9151CA #8ACA51
analogous
#5551CA #9151CA #CA51C6
triadic
#9151CA #CA9151 #51CA91
tetradic
#9151CA #CA5551 #8ACA51 #51C6CA
square
#9151CA #CA5551 #8ACA51 #51C6CA
split-complementary
#9151CA #C6CA51 #51CA55
monochromatic
#53257B #7234AA #9151CA #AF80D8 #CCAFE7

Accessibility & contrast

On white

4.96
#9151CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9151CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9151CA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9151CA#FFFFFF#000000##FFFFFF
##9151CA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#176ECE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#876986
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9151ca;
/* rgb */ color: rgb(145, 81, 202);
/* oklch */ color: oklch(56.6% 0.184 305.7);
Tailwind
colors: {
  custom: {
    50: '#b585db',
    500: '#9151ca',
    950: '#000000',
  },
}
SCSS
$custom: #9151ca;
$custom-light: #b585db;
$custom-dark: #000000;
JSON
{
  "hex": "#9151ca",
  "rgb": {
    "r": 145,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 271.736,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56583,
    "c": 0.18385,
    "h": 305.7
  },
  "luminance": 0.16169
}

Semantic roles & 50–950 ramp

primary
#9151CA
secondary
#BAD5A2
accent
#DD4B90
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #9151CA

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

Preview Lab → · Contrast checker → · Palette generator →

#9151CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva