#7431CA#7431CA

#7431CA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.3% C 0.218 H 297.6°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#7431CA
RGBrgb(116, 49, 202)
HSLhsl(266, 61%, 49%)
HSVhsv(266, 76%, 79%)
CMYKcmyk(42.6%, 75.7%, 0%, 20.8%)
CIE-LABlab(38.15, 58.73, -67.66)
CIE-LCHlch(38.15, 89.59, 310.96°)
OKLaboklab(49.34% 0.1011 -0.1936)
OKLCHoklch(49.34% 0.218 297.6)
XYZxyz(18.9587, 10.1735, 56.8305)
Luminance0.1017 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7431CA #87CA31
analogous
#313ACA #7431CA #C131CA
triadic
#7431CA #CA7431 #31CA74
tetradic
#7431CA #CA313A #87CA31 #31CAC1
square
#7431CA #CA313A #87CA31 #31CAC1
split-complementary
#7431CA #CAC131 #3ACA31
monochromatic
#3B1967 #582599 #7431CA #9560D8 #B691E4

Accessibility & contrast

On white

6.92
#7431CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.03
#7431CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7431CA
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7431CA#FFFFFF#000000##FFFFFF
##7431CA1.006.923.036.92
#FFFFFF6.921.0021.001.00
#0000003.0321.001.0021.00
##FFFFFF6.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005ACE
Deuteranopia (green-blind)
#0058C7
Tritanopia (blue-blind)
#5E5A7C
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #7431ca;
/* rgb */ color: rgb(116, 49, 202);
/* oklch */ color: oklch(49.3% 0.218 297.6);
Tailwind
colors: {
  custom: {
    50: '#a470db',
    500: '#7431ca',
    950: '#000000',
  },
}
SCSS
$custom: #7431ca;
$custom-light: #a470db;
$custom-dark: #000000;
JSON
{
  "hex": "#7431ca",
  "rgb": {
    "r": 116,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 266.275,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49339,
    "c": 0.21845,
    "h": 297.6
  },
  "luminance": 0.10174
}

Semantic roles & 50–950 ramp

primary
#7431CA
secondary
#B0CF88
accent
#E4449E
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7431CA

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

Preview Lab → · Contrast checker → · Palette generator →

#7431CA Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva