#9256F9#9256F9

#9256F9 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.230 H 295.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9256F9
RGBrgb(146, 86, 249)
HSLhsl(262, 93%, 66%)
HSVhsv(262, 65%, 98%)
CMYKcmyk(41.4%, 65.5%, 0%, 2.4%)
CIE-LABlab(51.39, 58.37, -72.68)
CIE-LCHlch(51.39, 93.21, 308.77°)
OKLaboklab(60.64% 0.0996 -0.2076)
OKLCHoklch(60.64% 0.23 295.6)
XYZxyz(32.2762, 19.6054, 91.6879)
Luminance0.1961 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256F9 #BDF956
analogous
#566BF9 #9256F9 #E456F9
triadic
#9256F9 #F99256 #56F992
tetradic
#9256F9 #F9566B #BDF956 #56F9E4
square
#9256F9 #F9566B #BDF956 #56F9E4
split-complementary
#9256F9 #F9E456 #6BF956
monochromatic
#5007CD #6C1BF7 #9256F9 #B891FB #DECCFD

Accessibility & contrast

On white

4.27
#9256F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#9256F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256F9
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256F9#FFFFFF#000000##000000
##9256F91.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CFE
Deuteranopia (green-blind)
#0078F6
Tritanopia (blue-blind)
#777DA0
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9256f9;
/* rgb */ color: rgb(146, 86, 249);
/* oklch */ color: oklch(60.6% 0.230 295.6);
Tailwind
colors: {
  custom: {
    50: '#b989fc',
    500: '#9256f9',
    950: '#000000',
  },
}
SCSS
$custom: #9256f9;
$custom-light: #b989fc;
$custom-dark: #000000;
JSON
{
  "hex": "#9256f9",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 249
  },
  "hsl": {
    "h": 262.086,
    "s": 93.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.23021,
    "h": 295.6
  },
  "luminance": 0.19606
}

Semantic roles & 50–950 ramp

primary
#9256F9
secondary
#DDF1BA
accent
#E60091
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#120C18
muted
#817D86

Preview Lab

Preview with #9256F9

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

Preview Lab → · Contrast checker → · Palette generator →

#9256F9 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva