#9251DD#9251DD

#9251DD is a mid, highly saturated violet. Relative luminance 0.172; OKLCH L 58.0% C 0.205 H 301.6°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#9251DD
RGBrgb(146, 81, 221)
HSLhsl(268, 67%, 59%)
HSVhsv(268, 63%, 87%)
CMYKcmyk(33.9%, 63.3%, 0%, 13.3%)
CIE-LABlab(48.53, 53.92, -61.56)
CIE-LCHlch(48.53, 81.84, 311.22°)
OKLaboklab(57.97% 0.1077 -0.1748)
OKLCHoklch(57.97% 0.205 301.6)
XYZxyz(27.8445, 17.2162, 70.2487)
Luminance0.1722 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251DD #9CDD51
analogous
#5156DD #9251DD #D851DD
triadic
#9251DD #DD9251 #51DD92
tetradic
#9251DD #DD5156 #9CDD51 #51DDD8
square
#9251DD #DD5156 #9CDD51 #51DDD8
split-complementary
#9251DD #DDD851 #56DD51
monochromatic
#551D96 #7327C9 #9251DD #B284E7 #D2B7F1

Accessibility & contrast

On white

4.73
#9251DD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#9251DD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251DD
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251DD#FFFFFF#000000##FFFFFF
##9251DD1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E1
Deuteranopia (green-blind)
#1C73DA
Tritanopia (blue-blind)
#837090
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9251dd;
/* rgb */ color: rgb(146, 81, 221);
/* oklch */ color: oklch(58.0% 0.205 301.6);
Tailwind
colors: {
  custom: {
    50: '#b785e8',
    500: '#9251dd',
    950: '#000000',
  },
}
SCSS
$custom: #9251dd;
$custom-light: #b785e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9251dd",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 267.857,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.57967,
    "c": 0.20536,
    "h": 301.6
  },
  "luminance": 0.17216
}

Semantic roles & 50–950 ramp

primary
#9251DD
secondary
#C7E0AA
accent
#EA3E9A
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9251DD

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

Preview Lab → · Contrast checker → · Palette generator →

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