#9251DF#9251DF

#9251DF is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.1% C 0.208 H 301.2°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#9251DF
RGBrgb(146, 81, 223)
HSLhsl(267, 69%, 60%)
HSVhsv(267, 64%, 87%)
CMYKcmyk(34.5%, 63.7%, 0%, 12.5%)
CIE-LABlab(48.66, 54.41, -62.48)
CIE-LCHlch(48.66, 82.85, 311.05°)
OKLaboklab(58.11% 0.1076 -0.1776)
OKLCHoklch(58.11% 0.208 301.2)
XYZxyz(28.1126, 17.3234, 71.6604)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251DF #9EDF51
analogous
#5157DF #9251DF #D951DF
triadic
#9251DF #DF9251 #51DF92
tetradic
#9251DF #DF5157 #9EDF51 #51DFD9
square
#9251DF #DF5157 #9EDF51 #51DFD9
split-complementary
#9251DF #DFD951 #57DF51
monochromatic
#561C99 #7226CD #9251DF #B285E9 #D3B8F2

Accessibility & contrast

On white

4.70
#9251DF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9251DF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251DF
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251DF#FFFFFF#000000##FFFFFF
##9251DF1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E3
Deuteranopia (green-blind)
#1673DC
Tritanopia (blue-blind)
#827091
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9251df;
/* rgb */ color: rgb(146, 81, 223);
/* oklch */ color: oklch(58.1% 0.208 301.2);
Tailwind
colors: {
  custom: {
    50: '#b785ea',
    500: '#9251df',
    950: '#000000',
  },
}
SCSS
$custom: #9251df;
$custom-light: #b785ea;
$custom-dark: #000000;
JSON
{
  "hex": "#9251df",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 267.465,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58106,
    "c": 0.20758,
    "h": 301.2
  },
  "luminance": 0.17324
}

Semantic roles & 50–950 ramp

primary
#9251DF
secondary
#C8E1AA
accent
#EC3C9B
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120B16
muted
#817C84

Preview Lab

Preview with #9251DF

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

Preview Lab → · Contrast checker → · Palette generator →

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