#9255E7#9255E7

#9255E7 is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.211 H 299.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9255E7
RGBrgb(146, 85, 231)
HSLhsl(265, 75%, 62%)
HSVhsv(265, 63%, 91%)
CMYKcmyk(36.8%, 63.2%, 0%, 9.4%)
CIE-LABlab(49.95, 54.35, -64.92)
CIE-LCHlch(49.95, 84.67, 309.93°)
OKLaboklab(59.21% 0.1025 -0.1848)
OKLCHoklch(59.21% 0.211 299)
XYZxyz(29.5228, 18.3772, 77.5776)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9255E7 #AAE755
analogous
#5561E7 #9255E7 #DB55E7
triadic
#9255E7 #E79255 #55E792
tetradic
#9255E7 #E75561 #AAE755 #55E7DB
square
#9255E7 #E75561 #AAE755 #55E7DB
split-complementary
#9255E7 #E7DB55 #61E755
monochromatic
#5518AA #7020DF #9255E7 #B48BEF #D7C0F6

Accessibility & contrast

On white

4.49
#9255E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9255E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9255E7
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9255E7#FFFFFF#000000##000000
##9255E71.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0575E4
Tritanopia (blue-blind)
#7F7696
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9255e7;
/* rgb */ color: rgb(146, 85, 231);
/* oklch */ color: oklch(59.2% 0.211 299.0);
Tailwind
colors: {
  custom: {
    50: '#b788ef',
    500: '#9255e7',
    950: '#000000',
  },
}
SCSS
$custom: #9255e7;
$custom-light: #b788ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9255e7",
  "rgb": {
    "r": 146,
    "g": 85,
    "b": 231
  },
  "hsl": {
    "h": 265.068,
    "s": 75.258,
    "l": 61.961
  },
  "oklch": {
    "l": 0.59206,
    "c": 0.21128,
    "h": 299
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#9255E7
secondary
#D0E7B1
accent
#D70E83
background
#FBF8FE
surface
#F7F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #9255E7

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

Preview Lab → · Contrast checker → · Palette generator →

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