#9462EA#9462EA

#9462EA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.5% C 0.197 H 297.2°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#9462EA
RGBrgb(148, 98, 234)
HSLhsl(262, 76%, 65%)
HSVhsv(262, 58%, 92%)
CMYKcmyk(36.8%, 58.1%, 0%, 8.2%)
CIE-LABlab(52.92, 48.69, -61.81)
CIE-LCHlch(52.92, 78.68, 308.23°)
OKLaboklab(61.48% 0.0902 -0.1756)
OKLCHoklch(61.48% 0.197 297.2)
XYZxyz(31.4279, 20.9713, 80.2180)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9462EA #B8EA62
analogous
#6274EA #9462EA #D862EA
triadic
#9462EA #EA9462 #62EA94
tetradic
#9462EA #EA6274 #B8EA62 #62EAD8
square
#9462EA #EA6274 #B8EA62 #62EAD8
split-complementary
#9462EA #EAD862 #74EA62
monochromatic
#5419B9 #6F2CE3 #9462EA #B998F1 #DECEF8

Accessibility & contrast

On white

4.04
#9462EA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#9462EA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9462EA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9462EA#FFFFFF#000000##000000
##9462EA1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#107FEE
Deuteranopia (green-blind)
#2D7DE7
Tritanopia (blue-blind)
#807F9D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #9462ea;
/* rgb */ color: rgb(148, 98, 234);
/* oklch */ color: oklch(61.5% 0.197 297.2);
Tailwind
colors: {
  custom: {
    50: '#b890f1',
    500: '#9462ea',
    950: '#000000',
  },
}
SCSS
$custom: #9462ea;
$custom-light: #b890f1;
$custom-dark: #000000;
JSON
{
  "hex": "#9462ea",
  "rgb": {
    "r": 148,
    "g": 98,
    "b": 234
  },
  "hsl": {
    "h": 262.059,
    "s": 76.404,
    "l": 65.098
  },
  "oklch": {
    "l": 0.61476,
    "c": 0.19737,
    "h": 297.2
  },
  "luminance": 0.20972
}

Semantic roles & 50–950 ramp

primary
#9462EA
secondary
#DAEBBD
accent
#D90D8E
background
#FBF9FE
surface
#F7F1FD
border
#D0CBD5
text
#120D17
muted
#817E85

Preview Lab

Preview with #9462EA

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

Preview Lab → · Contrast checker → · Palette generator →

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