#9271C8#9271C8

#9271C8 is a mid, vivid violet. Relative luminance 0.221; OKLCH L 61.7% C 0.131 H 300.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#9271C8
RGBrgb(146, 113, 200)
HSLhsl(263, 44%, 61%)
HSVhsv(263, 44%, 78%)
CMYKcmyk(27%, 43.5%, 0%, 21.6%)
CIE-LABlab(54.12, 31.16, -40.67)
CIE-LCHlch(54.12, 51.23, 307.45°)
OKLaboklab(61.71% 0.0659 -0.1138)
OKLCHoklch(61.71% 0.131 300.1)
XYZxyz(28.1821, 22.0912, 57.4117)
Luminance0.2209 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271C8 #A7C871
analogous
#717CC8 #9271C8 #BE71C8
triadic
#9271C8 #C89271 #71C892
tetradic
#9271C8 #C8717C #A7C871 #71C8BE
square
#9271C8 #C8717C #A7C871 #71C8BE
split-complementary
#9271C8 #C8BE71 #7CC871
monochromatic
#553589 #7046B6 #9271C8 #B49DD9 #D6C9EA

Accessibility & contrast

On white

3.88
#9271C8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#9271C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271C8
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271C8#FFFFFF#000000##000000
##9271C81.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5981CB
Deuteranopia (green-blind)
#6081C6
Tritanopia (blue-blind)
#888093
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #9271c8;
/* rgb */ color: rgb(146, 113, 200);
/* oklch */ color: oklch(61.7% 0.131 300.1);
Tailwind
colors: {
  custom: {
    50: '#b49ad9',
    500: '#9271c8',
    950: '#000000',
  },
}
SCSS
$custom: #9271c8;
$custom-light: #b49ad9;
$custom-dark: #000000;
JSON
{
  "hex": "#9271c8",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 200
  },
  "hsl": {
    "h": 262.759,
    "s": 44.162,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61709,
    "c": 0.13147,
    "h": 300.1
  },
  "luminance": 0.22091
}

Semantic roles & 50–950 ramp

primary
#9271C8
secondary
#CEDBBA
accent
#B72E83
background
#FBF9FD
surface
#F6F2FA
border
#D0CCD3
text
#110E14
muted
#807E83

Preview Lab

Preview with #9271C8

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

Preview Lab → · Contrast checker → · Palette generator →

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