#9255E1#9255E1

#9255E1 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.8% C 0.204 H 300.2°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#9255E1
RGBrgb(146, 85, 225)
HSLhsl(266, 70%, 61%)
HSVhsv(266, 62%, 88%)
CMYKcmyk(35.1%, 62.2%, 0%, 11.8%)
CIE-LABlab(49.55, 52.86, -62.18)
CIE-LCHlch(49.55, 81.61, 310.37°)
OKLaboklab(58.79% 0.1029 -0.1767)
OKLCHoklch(58.79% 0.204 300.2)
XYZxyz(28.6899, 18.0440, 73.1909)
Luminance0.1804 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255E1 #A4E155
analogous
#555EE1 #9255E1 #D855E1
triadic
#9255E1 #E19255 #55E192
tetradic
#9255E1 #E1555E #A4E155 #55E1D8
square
#9255E1 #E1555E #A4E155 #55E1D8
split-complementary
#9255E1 #E1D855 #5EE155
monochromatic
#551C9F #7125D3 #9255E1 #B389EA #D5BDF3

Accessibility & contrast

On white

4.56
#9255E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#9255E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9255E1
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255E1#FFFFFF#000000##000000
##9255E11.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#1D75DE
Tritanopia (blue-blind)
#817493
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9255e1;
/* rgb */ color: rgb(146, 85, 225);
/* oklch */ color: oklch(58.8% 0.204 300.2);
Tailwind
colors: {
  custom: {
    50: '#b788eb',
    500: '#9255e1',
    950: '#000000',
  },
}
SCSS
$custom: #9255e1;
$custom-light: #b788eb;
$custom-dark: #000000;
JSON
{
  "hex": "#9255e1",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 225
  },
  "hsl": {
    "h": 266.143,
    "s": 70,
    "l": 60.784
  },
  "oklch": {
    "l": 0.58788,
    "c": 0.20449,
    "h": 300.2
  },
  "luminance": 0.18044
}

Semantic roles & 50–950 ramp

primary
#9255E1
secondary
#CCE3AE
accent
#D2147F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9255E1

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

Preview Lab → · Contrast checker → · Palette generator →

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