#9431E2#9431E2

#9431E2 is a mid, highly saturated violet. Relative luminance 0.140; OKLCH L 55.1% C 0.247 H 304.5°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#9431E2
RGBrgb(148, 49, 226)
HSLhsl(274, 75%, 54%)
HSVhsv(274, 78%, 89%)
CMYKcmyk(34.5%, 78.3%, 0%, 11.4%)
CIE-LABlab(44.21, 69.30, -71.41)
CIE-LCHlch(44.21, 99.51, 314.14°)
OKLaboklab(55.06% 0.14 -0.2036)
OKLCHoklch(55.06% 0.247 304.5)
XYZxyz(27.0354, 13.9836, 73.2116)
Luminance0.1398 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9431E2 #7FE231
analogous
#3C31E2 #9431E2 #E231D8
triadic
#9431E2 #E29431 #31E294
tetradic
#9431E2 #E23C31 #7FE231 #31D8E2
square
#9431E2 #E23C31 #7FE231 #31D8E2
split-complementary
#9431E2 #D8E231 #31E23C
monochromatic
#531386 #741ABB #9431E2 #B067EA #CC9CF1

Accessibility & contrast

On white

5.53
#9431E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#9431E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9431E2
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9431E2#FFFFFF#000000##FFFFFF
##9431E21.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#85608A
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9431e2;
/* rgb */ color: rgb(148, 49, 226);
/* oklch */ color: oklch(55.1% 0.247 304.5);
Tailwind
colors: {
  custom: {
    50: '#ba75ec',
    500: '#9431e2',
    950: '#000000',
  },
}
SCSS
$custom: #9431e2;
$custom-light: #ba75ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9431e2",
  "rgb": {
    "r": 148,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 273.559,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.55063,
    "c": 0.24704,
    "h": 304.5
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#9431E2
secondary
#B3DD92
accent
#F23689
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9431E2

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

Preview Lab → · Contrast checker → · Palette generator →

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