#9262EB#9262EB

#9262EB is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.3% C 0.198 H 296.2°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#9262EB
RGBrgb(146, 98, 235)
HSLhsl(261, 77%, 65%)
HSVhsv(261, 58%, 92%)
CMYKcmyk(37.9%, 58.3%, 0%, 7.8%)
CIE-LABlab(52.78, 48.50, -62.61)
CIE-LCHlch(52.78, 79.20, 307.77°)
OKLaboklab(61.35% 0.0876 -0.178)
OKLCHoklch(61.35% 0.198 296.2)
XYZxyz(31.2133, 20.8440, 80.9599)
Luminance0.2084 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9262EB #BBEB62
analogous
#6276EB #9262EB #D762EB
triadic
#9262EB #EB9262 #62EB92
tetradic
#9262EB #EB6276 #BBEB62 #62EBD7
square
#9262EB #EB6276 #BBEB62 #62EBD7
split-complementary
#9262EB #EBD762 #76EB62
monochromatic
#5118BB #6C2CE4 #9262EB #B898F2 #DDCFF9

Accessibility & contrast

On white

4.06
#9262EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#9262EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9262EB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9262EB#FFFFFF#000000##000000
##9262EB1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#077FEF
Deuteranopia (green-blind)
#287CE8
Tritanopia (blue-blind)
#7C7F9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9262eb;
/* rgb */ color: rgb(146, 98, 235);
/* oklch */ color: oklch(61.3% 0.198 296.2);
Tailwind
colors: {
  custom: {
    50: '#b790f2',
    500: '#9262eb',
    950: '#000000',
  },
}
SCSS
$custom: #9262eb;
$custom-light: #b790f2;
$custom-dark: #000000;
JSON
{
  "hex": "#9262eb",
  "rgb": {
    "r": 146,
    "g": 98,
    "b": 235
  },
  "hsl": {
    "h": 261.022,
    "s": 77.401,
    "l": 65.294
  },
  "oklch": {
    "l": 0.61347,
    "c": 0.19835,
    "h": 296.2
  },
  "luminance": 0.20845
}

Semantic roles & 50–950 ramp

primary
#9262EB
secondary
#DBEBBD
accent
#DA0C92
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9262EB

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

Preview Lab → · Contrast checker → · Palette generator →

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