#9271F6#9271F6

#9271F6 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.4% C 0.191 H 291.6°. Best body text is #000000 at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9271F6
RGBrgb(146, 113, 246)
HSLhsl(255, 88%, 70%)
HSVhsv(255, 54%, 96%)
CMYKcmyk(40.7%, 54.1%, 0%, 3.5%)
CIE-LABlab(56.66, 43.10, -62.50)
CIE-LCHlch(56.66, 75.92, 304.59°)
OKLaboklab(64.42% 0.0702 -0.1776)
OKLCHoklch(64.42% 0.191 291.6)
XYZxyz(34.3892, 24.5741, 90.1023)
Luminance0.2457 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271F6 #D5F671
analogous
#7193F6 #9271F6 #D471F6
triadic
#9271F6 #F69271 #71F692
tetradic
#9271F6 #F67193 #D5F671 #71F6D4
square
#9271F6 #F67193 #D5F671 #71F6D4
split-complementary
#9271F6 #F6D471 #93F671
monochromatic
#420EDE #6637F2 #9271F6 #BEABFA #E9E2FD

Accessibility & contrast

On white

3.55
#9271F6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.92
#9271F6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271F6
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271F6#FFFFFF#000000##000000
##9271F61.003.555.925.92
#FFFFFF3.551.0021.0021.00
#0000005.9221.001.001.00
##0000005.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F8AFB
Deuteranopia (green-blind)
#3785F3
Tritanopia (blue-blind)
#778DA9
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9271f6;
/* rgb */ color: rgb(146, 113, 246);
/* oklch */ color: oklch(64.4% 0.191 291.6);
Tailwind
colors: {
  custom: {
    50: '#b79bfa',
    500: '#9271f6',
    950: '#000000',
  },
}
SCSS
$custom: #9271f6;
$custom-light: #b79bfa;
$custom-dark: #000000;
JSON
{
  "hex": "#9271f6",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 246
  },
  "hsl": {
    "h": 254.887,
    "s": 88.079,
    "l": 70.392
  },
  "oklch": {
    "l": 0.64422,
    "c": 0.19098,
    "h": 291.6
  },
  "luminance": 0.24575
}

Semantic roles & 50–950 ramp

primary
#9271F6
secondary
#EBF4CF
accent
#E501AC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9271F6

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

Preview Lab → · Contrast checker → · Palette generator →

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