#9262EC#9262EC

#9262EC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.4% C 0.200 H 296.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#9262EC
RGBrgb(146, 98, 236)
HSLhsl(261, 78%, 65%)
HSVhsv(261, 58%, 93%)
CMYKcmyk(38.1%, 58.5%, 0%, 7.5%)
CIE-LABlab(52.84, 48.76, -63.06)
CIE-LCHlch(52.84, 79.72, 307.71°)
OKLaboklab(61.41% 0.0876 -0.1793)
OKLCHoklch(61.41% 0.2 296)
XYZxyz(31.3582, 20.9019, 81.7229)
Luminance0.2090 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9262EC #BCEC62
analogous
#6277EC #9262EC #D762EC
triadic
#9262EC #EC9262 #62EC92
tetradic
#9262EC #EC6277 #BCEC62 #62ECD7
square
#9262EC #EC6277 #BCEC62 #62ECD7
split-complementary
#9262EC #ECD762 #77EC62
monochromatic
#5117BD #6C2BE5 #9262EC #B899F3 #DECFF9

Accessibility & contrast

On white

4.05
#9262EC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#9262EC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9262EC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9262EC#FFFFFF#000000##000000
##9262EC1.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#027FF0
Deuteranopia (green-blind)
#267CE9
Tritanopia (blue-blind)
#7C809E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9262ec;
/* rgb */ color: rgb(146, 98, 236);
/* oklch */ color: oklch(61.4% 0.200 296.0);
Tailwind
colors: {
  custom: {
    50: '#b790f3',
    500: '#9262ec',
    950: '#000000',
  },
}
SCSS
$custom: #9262ec;
$custom-light: #b790f3;
$custom-dark: #000000;
JSON
{
  "hex": "#9262ec",
  "rgb": {
    "r": 146,
    "g": 98,
    "b": 236
  },
  "hsl": {
    "h": 260.87,
    "s": 78.409,
    "l": 65.49
  },
  "oklch": {
    "l": 0.61414,
    "c": 0.19956,
    "h": 296
  },
  "luminance": 0.20902
}

Semantic roles & 50–950 ramp

primary
#9262EC
secondary
#DCECBE
accent
#DB0B92
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9262EC

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

Preview Lab → · Contrast checker → · Palette generator →

#9262EC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva