#7331E2#7331E2

#7331E2 is a mid, highly saturated violet. Relative luminance 0.113; OKLCH L 51.3% C 0.243 H 292.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#7331E2
RGBrgb(115, 49, 226)
HSLhsl(262, 75%, 54%)
HSVhsv(262, 78%, 89%)
CMYKcmyk(49.1%, 78.3%, 0%, 11.4%)
CIE-LABlab(40.13, 64.54, -78.24)
CIE-LCHlch(40.13, 101.42, 309.52°)
OKLaboklab(51.34% 0.0929 -0.2247)
OKLCHoklch(51.34% 0.243 292.5)
XYZxyz(21.8922, 11.3317, 72.9705)
Luminance0.1133 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7331E2 #A0E231
analogous
#3148E2 #7331E2 #CC31E2
triadic
#7331E2 #E27331 #31E273
tetradic
#7331E2 #E23148 #A0E231 #31E2CC
square
#7331E2 #E23148 #A0E231 #31E2CC
split-complementary
#7331E2 #E2CC31 #48E231
monochromatic
#3E1386 #561ABB #7331E2 #9767EA #BC9CF1

Accessibility & contrast

On white

6.43
#7331E2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#7331E2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7331E2
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7331E2#FFFFFF#000000##FFFFFF
##7331E21.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061E7
Deuteranopia (green-blind)
#005BDF
Tritanopia (blue-blind)
#4E648A
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #7331e2;
/* rgb */ color: rgb(115, 49, 226);
/* oklch */ color: oklch(51.3% 0.243 292.5);
Tailwind
colors: {
  custom: {
    50: '#a671ec',
    500: '#7331e2',
    950: '#000000',
  },
}
SCSS
$custom: #7331e2;
$custom-light: #a671ec;
$custom-dark: #000000;
JSON
{
  "hex": "#7331e2",
  "rgb": {
    "r": 115,
    "g": 49,
    "b": 226
  },
  "hsl": {
    "h": 262.373,
    "s": 75.319,
    "l": 53.922
  },
  "oklch": {
    "l": 0.51336,
    "c": 0.24313,
    "h": 292.5
  },
  "luminance": 0.11332
}

Semantic roles & 50–950 ramp

primary
#7331E2
secondary
#C1DD92
accent
#F236AC
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #7331E2

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

Preview Lab → · Contrast checker → · Palette generator →

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