#9271CD#9271CD

#9271CD is a mid, vivid violet. Relative luminance 0.223; OKLCH L 62.0% C 0.138 H 298.9°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#9271CD
RGBrgb(146, 113, 205)
HSLhsl(262, 48%, 62%)
HSVhsv(262, 45%, 80%)
CMYKcmyk(28.8%, 44.9%, 0%, 19.6%)
CIE-LABlab(54.37, 32.40, -43.12)
CIE-LCHlch(54.37, 53.94, 306.92°)
OKLaboklab(61.98% 0.0667 -0.1209)
OKLCHoklch(61.98% 0.138 298.9)
XYZxyz(28.7760, 22.3288, 60.5396)
Luminance0.2233 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271CD #ACCD71
analogous
#717ECD #9271CD #C071CD
triadic
#9271CD #CD9271 #71CD92
tetradic
#9271CD #CD717E #ACCD71 #71CDC0
square
#9271CD #CD717E #ACCD71 #71CDC0
split-complementary
#9271CD #CDC071 #7ECD71
monochromatic
#553391 #6F44BD #9271CD #B59EDD #D7CCED

Accessibility & contrast

On white

3.84
#9271CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#9271CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271CD
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271CD#FFFFFF#000000##000000
##9271CD1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9271cd;
/* rgb */ color: rgb(146, 113, 205);
/* oklch */ color: oklch(62.0% 0.138 298.9);
Tailwind
colors: {
  custom: {
    50: '#b49adc',
    500: '#9271cd',
    950: '#000000',
  },
}
SCSS
$custom: #9271cd;
$custom-light: #b49adc;
$custom-dark: #000000;
JSON
{
  "hex": "#9271cd",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 205
  },
  "hsl": {
    "h": 261.522,
    "s": 47.917,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61979,
    "c": 0.13806,
    "h": 298.9
  },
  "luminance": 0.22329
}

Semantic roles & 50–950 ramp

primary
#9271CD
secondary
#D2DEBC
accent
#BB2A87
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9271CD

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

Preview Lab → · Contrast checker → · Palette generator →

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