#9271CC#9271CC

#9271CC is a mid, vivid violet. Relative luminance 0.223; OKLCH L 61.9% C 0.137 H 299.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9271CC
RGBrgb(146, 113, 204)
HSLhsl(262, 47%, 62%)
HSVhsv(262, 45%, 80%)
CMYKcmyk(28.4%, 44.6%, 0%, 20%)
CIE-LABlab(54.32, 32.15, -42.64)
CIE-LCHlch(54.32, 53.40, 307.02°)
OKLaboklab(61.93% 0.0665 -0.1195)
OKLCHoklch(61.93% 0.137 299.1)
XYZxyz(28.6557, 22.2807, 59.9059)
Luminance0.2228 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271CC #ABCC71
analogous
#717ECC #9271CC #BF71CC
triadic
#9271CC #CC9271 #71CC92
tetradic
#9271CC #CC717E #ABCC71 #71CCBF
square
#9271CC #CC717E #ABCC71 #71CCBF
split-complementary
#9271CC #CCBF71 #7ECC71
monochromatic
#55338F #6F44BC #9271CC #B59EDC #D7CBEC

Accessibility & contrast

On white

3.85
#9271CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.46
#9271CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271CC
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271CC#FFFFFF#000000##000000
##9271CC1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5682CF
Deuteranopia (green-blind)
#5D81CA
Tritanopia (blue-blind)
#868195
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9271cc;
/* rgb */ color: rgb(146, 113, 204);
/* oklch */ color: oklch(61.9% 0.137 299.1);
Tailwind
colors: {
  custom: {
    50: '#b49adc',
    500: '#9271cc',
    950: '#000000',
  },
}
SCSS
$custom: #9271cc;
$custom-light: #b49adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9271cc",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 204
  },
  "hsl": {
    "h": 261.758,
    "s": 47.15,
    "l": 62.157
  },
  "oklch": {
    "l": 0.61925,
    "c": 0.13675,
    "h": 299.1
  },
  "luminance": 0.22281
}

Semantic roles & 50–950 ramp

primary
#9271CC
secondary
#D1DDBC
accent
#BA2B86
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9271CC

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

Preview Lab → · Contrast checker → · Palette generator →

#9271CC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva