#9251E3#9251E3

#9251E3 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.212 H 300.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9251E3
RGBrgb(146, 81, 227)
HSLhsl(267, 72%, 60%)
HSVhsv(267, 64%, 89%)
CMYKcmyk(35.7%, 64.3%, 0%, 11%)
CIE-LABlab(48.94, 55.39, -64.31)
CIE-LCHlch(48.94, 84.87, 310.74°)
OKLaboklab(58.39% 0.1072 -0.1829)
OKLCHoklch(58.39% 0.212 300.4)
XYZxyz(28.6582, 17.5417, 74.5342)
Luminance0.1754 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251E3 #A2E351
analogous
#5159E3 #9251E3 #DB51E3
triadic
#9251E3 #E39251 #51E392
tetradic
#9251E3 #E35159 #A2E351 #51E3DB
square
#9251E3 #E35159 #A2E351 #51E3DB
split-complementary
#9251E3 #E3DB51 #59E351
monochromatic
#551AA0 #7222D5 #9251E3 #B386EB #D4BAF4

Accessibility & contrast

On white

4.66
#9251E3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#9251E3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9251E3
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251E3#FFFFFF#000000##FFFFFF
##9251E31.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#0473E0
Tritanopia (blue-blind)
#807293
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9251e3;
/* rgb */ color: rgb(146, 81, 227);
/* oklch */ color: oklch(58.4% 0.212 300.4);
Tailwind
colors: {
  custom: {
    50: '#b786ed',
    500: '#9251e3',
    950: '#000000',
  },
}
SCSS
$custom: #9251e3;
$custom-light: #b786ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9251e3",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 227
  },
  "hsl": {
    "h": 266.712,
    "s": 72.277,
    "l": 60.392
  },
  "oklch": {
    "l": 0.58387,
    "c": 0.21203,
    "h": 300.4
  },
  "luminance": 0.17542
}

Semantic roles & 50–950 ramp

primary
#9251E3
secondary
#CBE4AC
accent
#D4117D
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9251E3

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

Preview Lab → · Contrast checker → · Palette generator →

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