#9257E4#9257E4

#9257E4 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.3% C 0.205 H 299.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#9257E4
RGBrgb(146, 87, 228)
HSLhsl(265, 72%, 62%)
HSVhsv(265, 62%, 89%)
CMYKcmyk(36%, 61.8%, 0%, 10.6%)
CIE-LABlab(50.13, 52.57, -62.94)
CIE-LCHlch(50.13, 82.01, 309.87°)
OKLaboklab(59.27% 0.1005 -0.1789)
OKLCHoklch(59.27% 0.205 299.3)
XYZxyz(29.2624, 18.5285, 75.4184)
Luminance0.1853 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257E4 #A9E457
analogous
#5763E4 #9257E4 #D857E4
triadic
#9257E4 #E49257 #57E492
tetradic
#9257E4 #E45763 #A9E457 #57E4D8
square
#9257E4 #E45763 #A9E457 #57E4D8
split-complementary
#9257E4 #E4D857 #63E457
monochromatic
#551BA6 #7023DB #9257E4 #B48CEC #D6C0F5

Accessibility & contrast

On white

4.46
#9257E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#9257E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9257E4
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257E4#FFFFFF#000000##000000
##9257E41.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077E8
Deuteranopia (green-blind)
#1B76E1
Tritanopia (blue-blind)
#807696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9257e4;
/* rgb */ color: rgb(146, 87, 228);
/* oklch */ color: oklch(59.3% 0.205 299.3);
Tailwind
colors: {
  custom: {
    50: '#b789ed',
    500: '#9257e4',
    950: '#000000',
  },
}
SCSS
$custom: #9257e4;
$custom-light: #b789ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9257e4",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 228
  },
  "hsl": {
    "h": 265.106,
    "s": 72.308,
    "l": 61.765
  },
  "oklch": {
    "l": 0.59273,
    "c": 0.20521,
    "h": 299.3
  },
  "luminance": 0.18529
}

Semantic roles & 50–950 ramp

primary
#9257E4
secondary
#D0E6B1
accent
#D41183
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9257E4

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

Preview Lab → · Contrast checker → · Palette generator →

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