#9251CA#9251CA

#9251CA is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.7% C 0.184 H 306.1°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9251CA
RGBrgb(146, 81, 202)
HSLhsl(272, 53%, 55%)
HSVhsv(272, 60%, 79%)
CMYKcmyk(27.7%, 59.9%, 0%, 20.8%)
CIE-LABlab(47.31, 49.38, -52.65)
CIE-LCHlch(47.31, 72.19, 313.17°)
OKLaboklab(56.7% 0.1086 -0.1487)
OKLCHoklch(56.7% 0.184 306.1)
XYZxyz(25.4549, 16.2603, 57.6632)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9251CA #89CA51
analogous
#5551CA #9251CA #CA51C6
triadic
#9251CA #CA9251 #51CA92
tetradic
#9251CA #CA5551 #89CA51 #51C6CA
square
#9251CA #CA5551 #89CA51 #51C6CA
split-complementary
#9251CA #C6CA51 #51CA55
monochromatic
#53257B #7334AA #9251CA #AF80D8 #CDAFE7

Accessibility & contrast

On white

4.94
#9251CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9251CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9251CA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9251CA#FFFFFF#000000##FFFFFF
##9251CA1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186ECE
Deuteranopia (green-blind)
#3A71C7
Tritanopia (blue-blind)
#896986
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9251ca;
/* rgb */ color: rgb(146, 81, 202);
/* oklch */ color: oklch(56.7% 0.184 306.1);
Tailwind
colors: {
  custom: {
    50: '#b685db',
    500: '#9251ca',
    950: '#000000',
  },
}
SCSS
$custom: #9251ca;
$custom-light: #b685db;
$custom-dark: #000000;
JSON
{
  "hex": "#9251ca",
  "rgb": {
    "r": 146,
    "g": 81,
    "b": 202
  },
  "hsl": {
    "h": 272.231,
    "s": 53.304,
    "l": 55.49
  },
  "oklch": {
    "l": 0.56696,
    "c": 0.18412,
    "h": 306.1
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#9251CA
secondary
#BAD5A2
accent
#DD4B8E
background
#FBF8FD
surface
#F6EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9251CA

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

Preview Lab → · Contrast checker → · Palette generator →

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