#9271F5#9271F5

#9271F5 is a light, vivid violet. Relative luminance 0.245; OKLCH L 64.4% C 0.190 H 291.7°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#9271F5
RGBrgb(146, 113, 245)
HSLhsl(255, 87%, 70%)
HSVhsv(255, 54%, 96%)
CMYKcmyk(40.4%, 53.9%, 0%, 3.9%)
CIE-LABlab(56.60, 42.84, -62.04)
CIE-LCHlch(56.60, 75.39, 304.62°)
OKLaboklab(64.36% 0.0701 -0.1763)
OKLCHoklch(64.36% 0.19 291.7)
XYZxyz(34.2361, 24.5128, 89.2961)
Luminance0.2451 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9271F5 #D4F571
analogous
#7192F5 #9271F5 #D471F5
triadic
#9271F5 #F59271 #71F592
tetradic
#9271F5 #F57192 #D4F571 #71F5D4
square
#9271F5 #F57192 #D4F571 #71F5D4
split-complementary
#9271F5 #F5D471 #92F571
monochromatic
#4310DC #6638F1 #9271F5 #BEAAF9 #E9E2FD

Accessibility & contrast

On white

3.56
#9271F5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#9271F5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9271F5
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9271F5#FFFFFF#000000##000000
##9271F51.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#318AF9
Deuteranopia (green-blind)
#3885F2
Tritanopia (blue-blind)
#778DA8
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9271f5;
/* rgb */ color: rgb(146, 113, 245);
/* oklch */ color: oklch(64.4% 0.190 291.7);
Tailwind
colors: {
  custom: {
    50: '#b79bf9',
    500: '#9271f5',
    950: '#000000',
  },
}
SCSS
$custom: #9271f5;
$custom-light: #b79bf9;
$custom-dark: #000000;
JSON
{
  "hex": "#9271f5",
  "rgb": {
    "r": 146,
    "g": 113,
    "b": 245
  },
  "hsl": {
    "h": 255,
    "s": 86.842,
    "l": 70.196
  },
  "oklch": {
    "l": 0.64358,
    "c": 0.18972,
    "h": 291.7
  },
  "luminance": 0.24514
}

Semantic roles & 50–950 ramp

primary
#9271F5
secondary
#EAF3CF
accent
#E302AB
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #9271F5

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

Preview Lab → · Contrast checker → · Palette generator →

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