#9255E8#9255E8

#9255E8 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.3% C 0.212 H 298.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#9255E8
RGBrgb(146, 85, 232)
HSLhsl(265, 76%, 62%)
HSVhsv(265, 63%, 91%)
CMYKcmyk(37.1%, 63.4%, 0%, 9%)
CIE-LABlab(50.02, 54.60, -65.38)
CIE-LCHlch(50.02, 85.18, 309.87°)
OKLaboklab(59.28% 0.1024 -0.1861)
OKLCHoklch(59.28% 0.212 298.8)
XYZxyz(29.6644, 18.4338, 78.3235)
Luminance0.1843 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255E8 #ABE855
analogous
#5562E8 #9255E8 #DC55E8
triadic
#9255E8 #E89255 #55E892
tetradic
#9255E8 #E85562 #ABE855 #55E8DC
square
#9255E8 #E85562 #ABE855 #55E8DC
split-complementary
#9255E8 #E8DC55 #62E855
monochromatic
#5517AB #6F1FE1 #9255E8 #B58BEF #D7C1F7

Accessibility & contrast

On white

4.48
#9255E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.69
#9255E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9255E8
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255E8#FFFFFF#000000##000000
##9255E81.004.484.694.69
#FFFFFF4.481.0021.0021.00
#0000004.6921.001.001.00
##0000004.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0076E5
Tritanopia (blue-blind)
#7E7697
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9255e8;
/* rgb */ color: rgb(146, 85, 232);
/* oklch */ color: oklch(59.3% 0.212 298.8);
Tailwind
colors: {
  custom: {
    50: '#b788f0',
    500: '#9255e8',
    950: '#000000',
  },
}
SCSS
$custom: #9255e8;
$custom-light: #b788f0;
$custom-dark: #000000;
JSON
{
  "hex": "#9255e8",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 232
  },
  "hsl": {
    "h": 264.898,
    "s": 76.166,
    "l": 62.157
  },
  "oklch": {
    "l": 0.59276,
    "c": 0.2124,
    "h": 298.8
  },
  "luminance": 0.18434
}

Semantic roles & 50–950 ramp

primary
#9255E8
secondary
#D1E7B1
accent
#D80D84
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9255E8

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

Preview Lab → · Contrast checker → · Palette generator →

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