#9255E4#9255E4

#9255E4 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.0% C 0.208 H 299.6°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#9255E4
RGBrgb(146, 85, 228)
HSLhsl(266, 73%, 61%)
HSVhsv(266, 63%, 89%)
CMYKcmyk(36%, 62.7%, 0%, 10.6%)
CIE-LABlab(49.75, 53.60, -63.56)
CIE-LCHlch(49.75, 83.14, 310.14°)
OKLaboklab(59% 0.1027 -0.1807)
OKLCHoklch(59% 0.208 299.6)
XYZxyz(29.1027, 18.2091, 75.3652)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255E4 #A7E455
analogous
#5560E4 #9255E4 #D955E4
triadic
#9255E4 #E49255 #55E492
tetradic
#9255E4 #E45560 #A7E455 #55E4D9
square
#9255E4 #E45560 #A7E455 #55E4D9
split-complementary
#9255E4 #E4D955 #60E455
monochromatic
#551AA4 #7023D9 #9255E4 #B48AEC #D6BFF5

Accessibility & contrast

On white

4.52
#9255E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#9255E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9255E4
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255E4#FFFFFF#000000##000000
##9255E41.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076E8
Deuteranopia (green-blind)
#1475E1
Tritanopia (blue-blind)
#807595
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #9255e4;
/* rgb */ color: rgb(146, 85, 228);
/* oklch */ color: oklch(59.0% 0.208 299.6);
Tailwind
colors: {
  custom: {
    50: '#b788ed',
    500: '#9255e4',
    950: '#000000',
  },
}
SCSS
$custom: #9255e4;
$custom-light: #b788ed;
$custom-dark: #000000;
JSON
{
  "hex": "#9255e4",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 228
  },
  "hsl": {
    "h": 265.594,
    "s": 72.589,
    "l": 61.373
  },
  "oklch": {
    "l": 0.58996,
    "c": 0.20789,
    "h": 299.6
  },
  "luminance": 0.18209
}

Semantic roles & 50–950 ramp

primary
#9255E4
secondary
#CEE5B0
accent
#D51181
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9255E4

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

Preview Lab → · Contrast checker → · Palette generator →

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