#9257E5#9257E5

#9257E5 is a mid, highly saturated violet. Relative luminance 0.186; OKLCH L 59.3% C 0.206 H 299.1°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9257E5
RGBrgb(146, 87, 229)
HSLhsl(265, 73%, 62%)
HSVhsv(265, 62%, 90%)
CMYKcmyk(36.2%, 62%, 0%, 10.2%)
CIE-LABlab(50.20, 52.82, -63.40)
CIE-LCHlch(50.20, 82.52, 309.80°)
OKLaboklab(59.34% 0.1004 -0.1803)
OKLCHoklch(59.34% 0.206 299.1)
XYZxyz(29.4016, 18.5842, 76.1516)
Luminance0.1858 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257E5 #AAE557
analogous
#5763E5 #9257E5 #D957E5
triadic
#9257E5 #E59257 #57E592
tetradic
#9257E5 #E55763 #AAE557 #57E5D9
square
#9257E5 #E55763 #AAE557 #57E5D9
split-complementary
#9257E5 #E5D957 #63E557
monochromatic
#551AA8 #7022DD #9257E5 #B48CED #D7C1F5

Accessibility & contrast

On white

4.45
#9257E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#9257E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9257E5
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257E5#FFFFFF#000000##000000
##9257E51.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E9
Deuteranopia (green-blind)
#1876E2
Tritanopia (blue-blind)
#7F7696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9257e5;
/* rgb */ color: rgb(146, 87, 229);
/* oklch */ color: oklch(59.3% 0.206 299.1);
Tailwind
colors: {
  custom: {
    50: '#b789ee',
    500: '#9257e5',
    950: '#000000',
  },
}
SCSS
$custom: #9257e5;
$custom-light: #b789ee;
$custom-dark: #000000;
JSON
{
  "hex": "#9257e5",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 264.93,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59342,
    "c": 0.20635,
    "h": 299.1
  },
  "luminance": 0.18585
}

Semantic roles & 50–950 ramp

primary
#9257E5
secondary
#D0E6B2
accent
#D51083
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9257E5

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

Preview Lab → · Contrast checker → · Palette generator →

#9257E5 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva