#9271CA#9271CA

#9271CA is a mid, vivid violet. Relative luminance 0.222; OKLCH L 61.8% C 0.134 H 299.6°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9271CA
RGBrgb(146, 113, 202)
HSLhsl(262, 46%, 62%)
HSVhsv(262, 44%, 79%)
CMYKcmyk(27.7%, 44.1%, 0%, 20.8%)
CIE-LABlab(54.22, 31.65, -41.66)
CIE-LCHlch(54.22, 52.32, 307.23°)
OKLaboklab(61.82% 0.0662 -0.1166)
OKLCHoklch(61.82% 0.134 299.6)
XYZxyz(28.4174, 22.1853, 58.6507)
Luminance0.2219 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271CA #A9CA71
analogous
#717DCA #9271CA #BF71CA
triadic
#9271CA #CA9271 #71CA92
tetradic
#9271CA #CA717D #A9CA71 #71CABF
square
#9271CA #CA717D #A9CA71 #71CABF
split-complementary
#9271CA #CABF71 #7DCA71
monochromatic
#55348C #7045B9 #9271CA #B49EDB #D6CAEB

Accessibility & contrast

On white

3.86
#9271CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#9271CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271CA
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271CA#FFFFFF#000000##000000
##9271CA1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5881CD
Deuteranopia (green-blind)
#5E81C8
Tritanopia (blue-blind)
#878194
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9271ca;
/* rgb */ color: rgb(146, 113, 202);
/* oklch */ color: oklch(61.8% 0.134 299.6);
Tailwind
colors: {
  custom: {
    50: '#b49ada',
    500: '#9271ca',
    950: '#000000',
  },
}
SCSS
$custom: #9271ca;
$custom-light: #b49ada;
$custom-dark: #000000;
JSON
{
  "hex": "#9271ca",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 202
  },
  "hsl": {
    "h": 262.247,
    "s": 45.641,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61816,
    "c": 0.13411,
    "h": 299.6
  },
  "luminance": 0.22186
}

Semantic roles & 50–950 ramp

primary
#9271CA
secondary
#D0DCBB
accent
#B92D85
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9271CA

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

Preview Lab → · Contrast checker → · Palette generator →

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