#9257EE#9257EE

#9257EE is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.217 H 297.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#9257EE
RGBrgb(146, 87, 238)
HSLhsl(263, 82%, 64%)
HSVhsv(263, 63%, 93%)
CMYKcmyk(38.7%, 63.4%, 0%, 6.7%)
CIE-LABlab(50.80, 55.08, -67.48)
CIE-LCHlch(50.80, 87.10, 309.22°)
OKLaboklab(59.97% 0.0997 -0.1923)
OKLCHoklch(59.97% 0.217 297.4)
XYZxyz(30.6909, 19.0999, 82.9420)
Luminance0.1910 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9257EE #B3EE57
analogous
#5767EE #9257EE #DE57EE
triadic
#9257EE #EE9257 #57EE92
tetradic
#9257EE #EE5767 #B3EE57 #57EEDE
square
#9257EE #EE5767 #B3EE57 #57EEDE
split-complementary
#9257EE #EEDE57 #67EE57
monochromatic
#5313B8 #6E1FE8 #9257EE #B68FF4 #DAC6F9

Accessibility & contrast

On white

4.36
#9257EE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#9257EE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9257EE
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9257EE#FFFFFF#000000##000000
##9257EE1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F3
Deuteranopia (green-blind)
#0077EB
Tritanopia (blue-blind)
#7C799B
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #9257ee;
/* rgb */ color: rgb(146, 87, 238);
/* oklch */ color: oklch(60.0% 0.217 297.4);
Tailwind
colors: {
  custom: {
    50: '#b889f4',
    500: '#9257ee',
    950: '#000000',
  },
}
SCSS
$custom: #9257ee;
$custom-light: #b889f4;
$custom-dark: #000000;
JSON
{
  "hex": "#9257ee",
  "rgb": {
    "r": 146,
    "g": 87,
    "b": 238
  },
  "hsl": {
    "h": 263.444,
    "s": 81.622,
    "l": 63.725
  },
  "oklch": {
    "l": 0.59973,
    "c": 0.21659,
    "h": 297.4
  },
  "luminance": 0.191
}

Semantic roles & 50–950 ramp

primary
#9257EE
secondary
#D6EBB6
accent
#DE088A
background
#FBF8FF
surface
#F7F0FE
border
#D0CBD6
text
#120C17
muted
#817D85

Preview Lab

Preview with #9257EE

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

Preview Lab → · Contrast checker → · Palette generator →

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