#9251CE#9251CE

#9251CE is a mid, vivid violet. Relative luminance 0.165; OKLCH L 57.0% C 0.189 H 305.1°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#9251CE
RGBrgb(146, 81, 206)
HSLhsl(271, 56%, 56%)
HSVhsv(271, 61%, 81%)
CMYKcmyk(29.1%, 60.7%, 0%, 19.2%)
CIE-LABlab(47.56, 50.33, -54.55)
CIE-LCHlch(47.56, 74.22, 312.69°)
OKLaboklab(56.96% 0.1085 -0.1543)
OKLCHoklch(56.96% 0.189 305.1)
XYZxyz(25.9346, 16.4522, 60.1899)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251CE #8DCE51
analogous
#5451CE #9251CE #CE51CC
triadic
#9251CE #CE9251 #51CE92
tetradic
#9251CE #CE5451 #8DCE51 #51CCCE
square
#9251CE #CE5451 #8DCE51 #51CCCE
split-complementary
#9251CE #CCCE51 #51CE54
monochromatic
#542480 #7332B0 #9251CE #B081DB #CEB1E9

Accessibility & contrast

On white

4.89
#9251CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#9251CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251CE
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251CE#FFFFFF#000000##FFFFFF
##9251CE1.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6FD2
Deuteranopia (green-blind)
#3571CB
Tritanopia (blue-blind)
#876A88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9251ce;
/* rgb */ color: rgb(146, 81, 206);
/* oklch */ color: oklch(57.0% 0.189 305.1);
Tailwind
colors: {
  custom: {
    50: '#b685de',
    500: '#9251ce',
    950: '#000000',
  },
}
SCSS
$custom: #9251ce;
$custom-light: #b685de;
$custom-dark: #000000;
JSON
{
  "hex": "#9251ce",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 206
  },
  "hsl": {
    "h": 271.2,
    "s": 56.054,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56956,
    "c": 0.1886,
    "h": 305.1
  },
  "luminance": 0.16452
}

Semantic roles & 50–950 ramp

primary
#9251CE
secondary
#BCD7A4
accent
#DF4891
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9251CE

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

Preview Lab → · Contrast checker → · Palette generator →

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