#9251E1#9251E1

#9251E1 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.2% C 0.210 H 300.8°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9251E1
RGBrgb(146, 81, 225)
HSLhsl(267, 71%, 60%)
HSVhsv(267, 64%, 88%)
CMYKcmyk(35.1%, 64%, 0%, 11.8%)
CIE-LABlab(48.80, 54.90, -63.39)
CIE-LCHlch(48.80, 83.86, 310.89°)
OKLaboklab(58.25% 0.1074 -0.1802)
OKLCHoklch(58.25% 0.21 300.8)
XYZxyz(28.3838, 17.4319, 73.0889)
Luminance0.1743 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251E1 #A0E151
analogous
#5158E1 #9251E1 #DA51E1
triadic
#9251E1 #E19251 #51E192
tetradic
#9251E1 #E15158 #A0E151 #51E1DA
square
#9251E1 #E15158 #A0E151 #51E1DA
split-complementary
#9251E1 #E1DA51 #58E151
monochromatic
#551B9D #7224D1 #9251E1 #B385EA #D3B9F3

Accessibility & contrast

On white

4.68
#9251E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9251E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251E1
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251E1#FFFFFF#000000##FFFFFF
##9251E11.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E5
Deuteranopia (green-blind)
#0F73DE
Tritanopia (blue-blind)
#817192
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9251e1;
/* rgb */ color: rgb(146, 81, 225);
/* oklch */ color: oklch(58.2% 0.210 300.8);
Tailwind
colors: {
  custom: {
    50: '#b785eb',
    500: '#9251e1',
    950: '#000000',
  },
}
SCSS
$custom: #9251e1;
$custom-light: #b785eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9251e1",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 225
  },
  "hsl": {
    "h": 267.083,
    "s": 70.588,
    "l": 60
  },
  "oklch": {
    "l": 0.58246,
    "c": 0.20981,
    "h": 300.8
  },
  "luminance": 0.17432
}

Semantic roles & 50–950 ramp

primary
#9251E1
secondary
#CAE3AB
accent
#ED3A9D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9251E1

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

Preview Lab → · Contrast checker → · Palette generator →

#9251E1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva