#9256EF#9256EF

#9256EF is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.219 H 297.4°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#9256EF
RGBrgb(146, 86, 239)
HSLhsl(264, 83%, 64%)
HSVhsv(264, 64%, 94%)
CMYKcmyk(38.9%, 64%, 0%, 6.3%)
CIE-LABlab(50.69, 55.84, -68.23)
CIE-LCHlch(50.69, 88.17, 309.30°)
OKLaboklab(59.91% 0.1007 -0.1945)
OKLCHoklch(59.91% 0.219 297.4)
XYZxyz(30.7578, 18.9981, 83.6911)
Luminance0.1900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9256EF #B3EF56
analogous
#5666EF #9256EF #DE56EF
triadic
#9256EF #EF9256 #56EF92
tetradic
#9256EF #EF5666 #B3EF56 #56EFDE
square
#9256EF #EF5666 #B3EF56 #56EFDE
split-complementary
#9256EF #EFDE56 #66EF56
monochromatic
#5312B9 #6E1EEA #9256EF #B68EF4 #DAC6FA

Accessibility & contrast

On white

4.38
#9256EF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#9256EF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9256EF
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9256EF#FFFFFF#000000##000000
##9256EF1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F4
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#7B799B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9256ef;
/* rgb */ color: rgb(146, 86, 239);
/* oklch */ color: oklch(59.9% 0.219 297.4);
Tailwind
colors: {
  custom: {
    50: '#b889f5',
    500: '#9256ef',
    950: '#000000',
  },
}
SCSS
$custom: #9256ef;
$custom-light: #b889f5;
$custom-dark: #000000;
JSON
{
  "hex": "#9256ef",
  "rgb": {
    "r": 146,
    "g": 86,
    "b": 239
  },
  "hsl": {
    "h": 263.529,
    "s": 82.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59909,
    "c": 0.219,
    "h": 297.4
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#9256EF
secondary
#D6EBB5
accent
#DF068A
background
#FBF8FF
surface
#F7F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #9256EF

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

Preview Lab → · Contrast checker → · Palette generator →

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