#9271F4#9271F4

#9271F4 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.3% C 0.188 H 291.8°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9271F4
RGBrgb(146, 113, 244)
HSLhsl(255, 86%, 70%)
HSVhsv(255, 54%, 96%)
CMYKcmyk(40.2%, 53.7%, 0%, 4.3%)
CIE-LABlab(56.54, 42.57, -61.58)
CIE-LCHlch(56.54, 74.86, 304.65°)
OKLaboklab(64.29% 0.0701 -0.1749)
OKLCHoklch(64.29% 0.188 291.8)
XYZxyz(34.0839, 24.4519, 88.4943)
Luminance0.2445 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271F4 #D3F471
analogous
#7191F4 #9271F4 #D471F4
triadic
#9271F4 #F49271 #71F492
tetradic
#9271F4 #F47191 #D3F471 #71F4D4
square
#9271F4 #F47191 #D3F471 #71F4D4
split-complementary
#9271F4 #F4D471 #91F471
monochromatic
#4311DA #6638F0 #9271F4 #BEAAF8 #E9E3FD

Accessibility & contrast

On white

3.57
#9271F4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#9271F4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271F4
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271F4#FFFFFF#000000##000000
##9271F41.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#328AF8
Deuteranopia (green-blind)
#3985F1
Tritanopia (blue-blind)
#788DA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9271f4;
/* rgb */ color: rgb(146, 113, 244);
/* oklch */ color: oklch(64.3% 0.188 291.8);
Tailwind
colors: {
  custom: {
    50: '#b79af8',
    500: '#9271f4',
    950: '#000000',
  },
}
SCSS
$custom: #9271f4;
$custom-light: #b79af8;
$custom-dark: #000000;
JSON
{
  "hex": "#9271f4",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 244
  },
  "hsl": {
    "h": 255.115,
    "s": 85.621,
    "l": 70
  },
  "oklch": {
    "l": 0.64294,
    "c": 0.18845,
    "h": 291.8
  },
  "luminance": 0.24453
}

Semantic roles & 50–950 ramp

primary
#9271F4
secondary
#E9F3CE
accent
#E203AA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9271F4

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

Preview Lab → · Contrast checker → · Palette generator →

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