#9271CF#9271CF

#9271CF is a light, vivid violet. Relative luminance 0.224; OKLCH L 62.1% C 0.141 H 298.4°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#9271CF
RGBrgb(146, 113, 207)
HSLhsl(261, 49%, 63%)
HSVhsv(261, 45%, 81%)
CMYKcmyk(29.5%, 45.4%, 0%, 18.8%)
CIE-LABlab(54.48, 32.90, -44.10)
CIE-LCHlch(54.48, 55.02, 306.73°)
OKLaboklab(62.09% 0.0669 -0.1237)
OKLCHoklch(62.09% 0.141 298.4)
XYZxyz(29.0190, 22.4260, 61.8192)
Luminance0.2243 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271CF #AECF71
analogous
#717FCF #9271CF #C171CF
triadic
#9271CF #CF9271 #71CF92
tetradic
#9271CF #CF717F #AECF71 #71CFC1
square
#9271CF #CF717F #AECF71 #71CFC1
split-complementary
#9271CF #CFC171 #7FCF71
monochromatic
#543294 #6F43C0 #9271CF #B59FDE #D8CCEE

Accessibility & contrast

On white

3.83
#9271CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#9271CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271CF
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271CF#FFFFFF#000000##000000
##9271CF1.003.835.495.49
#FFFFFF3.831.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5582D2
Deuteranopia (green-blind)
#5B81CD
Tritanopia (blue-blind)
#868296
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #9271cf;
/* rgb */ color: rgb(146, 113, 207);
/* oklch */ color: oklch(62.1% 0.141 298.4);
Tailwind
colors: {
  custom: {
    50: '#b49ade',
    500: '#9271cf',
    950: '#000000',
  },
}
SCSS
$custom: #9271cf;
$custom-light: #b49ade;
$custom-dark: #000000;
JSON
{
  "hex": "#9271cf",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 207
  },
  "hsl": {
    "h": 261.064,
    "s": 49.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62089,
    "c": 0.14069,
    "h": 298.4
  },
  "luminance": 0.22426
}

Semantic roles & 50–950 ramp

primary
#9271CF
secondary
#D3DFBD
accent
#BD2989
background
#FBF9FD
surface
#F6F2FB
border
#D0CCD4
text
#110E15
muted
#807E83

Preview Lab

Preview with #9271CF

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

Preview Lab → · Contrast checker → · Palette generator →

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