#9251DA#9251DA

#9251DA is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.202 H 302.3°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#9251DA
RGBrgb(146, 81, 218)
HSLhsl(268, 65%, 59%)
HSVhsv(268, 63%, 85%)
CMYKcmyk(33%, 62.8%, 0%, 14.5%)
CIE-LABlab(48.33, 53.20, -60.17)
CIE-LCHlch(48.33, 80.32, 311.48°)
OKLaboklab(57.76% 0.1079 -0.1708)
OKLCHoklch(57.76% 0.202 302.3)
XYZxyz(27.4484, 17.0578, 68.1625)
Luminance0.1706 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251DA #99DA51
analogous
#5154DA #9251DA #D651DA
triadic
#9251DA #DA9251 #51DA92
tetradic
#9251DA #DA5154 #99DA51 #51DAD6
square
#9251DA #DA5154 #99DA51 #51DAD6
split-complementary
#9251DA #DAD651 #54DA51
monochromatic
#551F92 #732AC4 #9251DA #B283E5 #D1B6EF

Accessibility & contrast

On white

4.76
#9251DA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#9251DA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251DA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251DA#FFFFFF#000000##FFFFFF
##9251DA1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072DE
Deuteranopia (green-blind)
#2372D7
Tritanopia (blue-blind)
#846F8E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9251da;
/* rgb */ color: rgb(146, 81, 218);
/* oklch */ color: oklch(57.8% 0.202 302.3);
Tailwind
colors: {
  custom: {
    50: '#b785e6',
    500: '#9251da',
    950: '#000000',
  },
}
SCSS
$custom: #9251da;
$custom-light: #b785e6;
$custom-dark: #000000;
JSON
{
  "hex": "#9251da",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 218
  },
  "hsl": {
    "h": 268.467,
    "s": 64.929,
    "l": 58.627
  },
  "oklch": {
    "l": 0.5776,
    "c": 0.20202,
    "h": 302.3
  },
  "luminance": 0.17058
}

Semantic roles & 50–950 ramp

primary
#9251DA
secondary
#C5DEA8
accent
#E84098
background
#FBF8FE
surface
#F6EFFC
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9251DA

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

Preview Lab → · Contrast checker → · Palette generator →

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