#9251F2#9251F2

#9251F2 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.5% C 0.229 H 297.5°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9251F2
RGBrgb(146, 81, 242)
HSLhsl(264, 86%, 63%)
HSVhsv(264, 67%, 95%)
CMYKcmyk(39.7%, 66.5%, 0%, 5.1%)
CIE-LABlab(49.98, 59.09, -71.05)
CIE-LCHlch(49.98, 92.41, 309.75°)
OKLaboklab(59.47% 0.1055 -0.2028)
OKLCHoklch(59.47% 0.229 297.5)
XYZxyz(30.8194, 18.4061, 85.9162)
Luminance0.1841 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251F2 #B1F251
analogous
#5160F2 #9251F2 #E351F2
triadic
#9251F2 #F29251 #51F292
tetradic
#9251F2 #F25160 #B1F251 #51F2E3
square
#9251F2 #F25160 #B1F251 #51F2E3
split-complementary
#9251F2 #F2E351 #60F251
monochromatic
#540EBB #6E18EE #9251F2 #B68AF6 #D9C3FB

Accessibility & contrast

On white

4.49
#9251F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9251F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9251F2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251F2#FFFFFF#000000##000000
##9251F21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F7
Deuteranopia (green-blind)
#0075EF
Tritanopia (blue-blind)
#7A779B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9251f2;
/* rgb */ color: rgb(146, 81, 242);
/* oklch */ color: oklch(59.5% 0.229 297.5);
Tailwind
colors: {
  custom: {
    50: '#b986f7',
    500: '#9251f2',
    950: '#000000',
  },
}
SCSS
$custom: #9251f2;
$custom-light: #b986f7;
$custom-dark: #000000;
JSON
{
  "hex": "#9251f2",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 264.224,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.59473,
    "c": 0.22856,
    "h": 297.5
  },
  "luminance": 0.18407
}

Semantic roles & 50–950 ramp

primary
#9251F2
secondary
#D5ECB3
accent
#E30388
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120B17
muted
#817C85

Preview Lab

Preview with #9251F2

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

Preview Lab → · Contrast checker → · Palette generator →

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