#9257E8#9257E8

#9257E8 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 59.6% C 0.210 H 298.5°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9257E8
RGBrgb(146, 87, 232)
HSLhsl(264, 76%, 63%)
HSVhsv(264, 63%, 91%)
CMYKcmyk(37.1%, 62.5%, 0%, 9%)
CIE-LABlab(50.40, 53.57, -64.76)
CIE-LCHlch(50.40, 84.05, 309.60°)
OKLaboklab(59.55% 0.1002 -0.1843)
OKLCHoklch(59.55% 0.21 298.5)
XYZxyz(29.8241, 18.7532, 78.3767)
Luminance0.1875 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257E8 #ADE857
analogous
#5764E8 #9257E8 #DB57E8
triadic
#9257E8 #E89257 #57E892
tetradic
#9257E8 #E85764 #ADE857 #57E8DB
square
#9257E8 #E85764 #ADE857 #57E8DB
split-complementary
#9257E8 #E8DB57 #64E857
monochromatic
#5418AD #6F21E1 #9257E8 #B58DEF #D8C3F7

Accessibility & contrast

On white

4.42
#9257E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#9257E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9257E8
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257E8#FFFFFF#000000##000000
##9257E81.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078ED
Deuteranopia (green-blind)
#0C77E5
Tritanopia (blue-blind)
#7E7798
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9257e8;
/* rgb */ color: rgb(146, 87, 232);
/* oklch */ color: oklch(59.6% 0.210 298.5);
Tailwind
colors: {
  custom: {
    50: '#b789f0',
    500: '#9257e8',
    950: '#000000',
  },
}
SCSS
$custom: #9257e8;
$custom-light: #b789f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9257e8",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 264.414,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.5955,
    "c": 0.20977,
    "h": 298.5
  },
  "luminance": 0.18754
}

Semantic roles & 50–950 ramp

primary
#9257E8
secondary
#D2E8B3
accent
#D80D86
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9257E8

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

Preview Lab → · Contrast checker → · Palette generator →

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