#9251CD#9251CD

#9251CD is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.9% C 0.187 H 305.4°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9251CD
RGBrgb(146, 81, 205)
HSLhsl(271, 55%, 56%)
HSVhsv(271, 60%, 80%)
CMYKcmyk(28.8%, 60.5%, 0%, 19.6%)
CIE-LABlab(47.50, 50.09, -54.08)
CIE-LCHlch(47.50, 73.71, 312.81°)
OKLaboklab(56.89% 0.1085 -0.1529)
OKLCHoklch(56.89% 0.187 305.4)
XYZxyz(25.8135, 16.4038, 59.5521)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251CD #8CCD51
analogous
#5451CD #9251CD #CD51CA
triadic
#9251CD #CD9251 #51CD92
tetradic
#9251CD #CD5451 #8CCD51 #51CACD
square
#9251CD #CD5451 #8CCD51 #51CACD
split-complementary
#9251CD #CACD51 #51CD54
monochromatic
#54257F #7332AF #9251CD #B081DB #CEB0E8

Accessibility & contrast

On white

4.91
#9251CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9251CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251CD
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251CD#FFFFFF#000000##FFFFFF
##9251CD1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#106FD1
Deuteranopia (green-blind)
#3671CA
Tritanopia (blue-blind)
#886A87
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9251cd;
/* rgb */ color: rgb(146, 81, 205);
/* oklch */ color: oklch(56.9% 0.187 305.4);
Tailwind
colors: {
  custom: {
    50: '#b685dd',
    500: '#9251cd',
    950: '#000000',
  },
}
SCSS
$custom: #9251cd;
$custom-light: #b685dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9251cd",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 271.452,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.5689,
    "c": 0.18749,
    "h": 305.4
  },
  "luminance": 0.16404
}

Semantic roles & 50–950 ramp

primary
#9251CD
secondary
#BCD7A3
accent
#DF4990
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9251CD

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

Preview Lab → · Contrast checker → · Palette generator →

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