#9266EB#9266EB

#9266EB is a mid, vivid violet. Relative luminance 0.216; OKLCH L 62.0% C 0.193 H 295.5°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#9266EB
RGBrgb(146, 102, 235)
HSLhsl(260, 77%, 66%)
HSVhsv(260, 57%, 92%)
CMYKcmyk(37.9%, 56.6%, 0%, 7.8%)
CIE-LABlab(53.61, 46.32, -61.26)
CIE-LCHlch(53.61, 76.80, 307.09°)
OKLaboklab(61.96% 0.0829 -0.174)
OKLCHoklch(61.96% 0.193 295.5)
XYZxyz(31.5969, 21.6113, 81.0878)
Luminance0.2161 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9266EB #BFEB66
analogous
#667CEB #9266EB #D566EB
triadic
#9266EB #EB9266 #66EB92
tetradic
#9266EB #EB667C #BFEB66 #66EBD5
square
#9266EB #EB667C #BFEB66 #66EBD5
split-complementary
#9266EB #EBD566 #7CEB66
monochromatic
#4F19BE #6B30E4 #9266EB #B99CF2 #DFD2F9

Accessibility & contrast

On white

3.95
#9266EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#9266EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9266EB
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9266EB#FFFFFF#000000##000000
##9266EB1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1F81EF
Deuteranopia (green-blind)
#317EE8
Tritanopia (blue-blind)
#7C829F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #9266eb;
/* rgb */ color: rgb(146, 102, 235);
/* oklch */ color: oklch(62.0% 0.193 295.5);
Tailwind
colors: {
  custom: {
    50: '#b793f2',
    500: '#9266eb',
    950: '#000000',
  },
}
SCSS
$custom: #9266eb;
$custom-light: #b793f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9266eb",
  "rgb": {
    "r": 146,
    "g": 102,
    "b": 235
  },
  "hsl": {
    "h": 259.85,
    "s": 76.879,
    "l": 66.078
  },
  "oklch": {
    "l": 0.61958,
    "c": 0.19277,
    "h": 295.5
  },
  "luminance": 0.21612
}

Semantic roles & 50–950 ramp

primary
#9266EB
secondary
#DEECC1
accent
#D90C95
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9266EB

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

Preview Lab → · Contrast checker → · Palette generator →

#9266EB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva