#9462E2#9462E2

#9462E2 is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.0% C 0.188 H 298.7°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#9462E2
RGBrgb(148, 98, 226)
HSLhsl(263, 69%, 64%)
HSVhsv(263, 57%, 89%)
CMYKcmyk(34.5%, 56.6%, 0%, 11.4%)
CIE-LABlab(52.42, 46.66, -58.11)
CIE-LCHlch(52.42, 74.52, 308.76°)
OKLaboklab(60.95% 0.0902 -0.1647)
OKLCHoklch(60.95% 0.188 298.7)
XYZxyz(30.3045, 20.5219, 74.3013)
Luminance0.2052 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9462E2 #B0E262
analogous
#6270E2 #9462E2 #D462E2
triadic
#9462E2 #E29462 #62E294
tetradic
#9462E2 #E26270 #B0E262 #62E2D4
square
#9462E2 #E26270 #B0E262 #62E2D4
split-complementary
#9462E2 #E2D462 #70E262
monochromatic
#561FAA #712ED8 #9462E2 #B796EC #DAC9F5

Accessibility & contrast

On white

4.11
#9462E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#9462E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9462E2
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9462E2#FFFFFF#000000##000000
##9462E21.004.115.105.10
#FFFFFF4.111.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#247DE6
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#837C99
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #9462e2;
/* rgb */ color: rgb(148, 98, 226);
/* oklch */ color: oklch(61.0% 0.188 298.7);
Tailwind
colors: {
  custom: {
    50: '#b890ec',
    500: '#9462e2',
    950: '#000000',
  },
}
SCSS
$custom: #9462e2;
$custom-light: #b890ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9462e2",
  "rgb": {
    "r": 148,
    "g": 98,
    "b": 226
  },
  "hsl": {
    "h": 263.438,
    "s": 68.817,
    "l": 63.529
  },
  "oklch": {
    "l": 0.60954,
    "c": 0.18779,
    "h": 298.7
  },
  "luminance": 0.20522
}

Semantic roles & 50–950 ramp

primary
#9462E2
secondary
#D5E7B9
accent
#D11587
background
#FBF9FE
surface
#F6F1FD
border
#D0CBD5
text
#120D16
muted
#817E84

Preview Lab

Preview with #9462E2

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

Preview Lab → · Contrast checker → · Palette generator →

#9462E2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva