#9257EB#9257EB

#9257EB is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.8% C 0.213 H 298.0°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9257EB
RGBrgb(146, 87, 235)
HSLhsl(264, 79%, 63%)
HSVhsv(264, 63%, 92%)
CMYKcmyk(37.9%, 63%, 0%, 7.8%)
CIE-LABlab(50.60, 54.32, -66.12)
CIE-LCHlch(50.60, 85.58, 309.40°)
OKLaboklab(59.76% 0.1 -0.1883)
OKLCHoklch(59.76% 0.213 298)
XYZxyz(30.2539, 18.9251, 80.6401)
Luminance0.1893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257EB #B0EB57
analogous
#5766EB #9257EB #DC57EB
triadic
#9257EB #EB9257 #57EB92
tetradic
#9257EB #EB5766 #B0EB57 #57EBDC
square
#9257EB #EB5766 #B0EB57 #57EBDC
split-complementary
#9257EB #EBDC57 #66EB57
monochromatic
#5415B2 #6F20E4 #9257EB #B58EF2 #D9C4F8

Accessibility & contrast

On white

4.39
#9257EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#9257EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9257EB
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257EB#FFFFFF#000000##000000
##9257EB1.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F0
Deuteranopia (green-blind)
#0077E8
Tritanopia (blue-blind)
#7D7899
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #9257eb;
/* rgb */ color: rgb(146, 87, 235);
/* oklch */ color: oklch(59.8% 0.213 298.0);
Tailwind
colors: {
  custom: {
    50: '#b889f2',
    500: '#9257eb',
    950: '#000000',
  },
}
SCSS
$custom: #9257eb;
$custom-light: #b889f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9257eb",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 263.919,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59761,
    "c": 0.21318,
    "h": 298
  },
  "luminance": 0.18926
}

Semantic roles & 50–950 ramp

primary
#9257EB
secondary
#D4E9B4
accent
#DB0A88
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9257EB

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

Preview Lab → · Contrast checker → · Palette generator →

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