#7731CA#7731CA

#7731CA is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.219 H 298.8°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).

Color values

HEX#7731CA
RGBrgb(119, 49, 202)
HSLhsl(267, 61%, 49%)
HSVhsv(267, 76%, 79%)
CMYKcmyk(41.1%, 75.7%, 0%, 20.8%)
CIE-LABlab(38.52, 59.21, -67.05)
CIE-LCHlch(38.52, 89.45, 311.45°)
OKLaboklab(49.68% 0.1054 -0.1917)
OKLCHoklch(49.68% 0.219 298.8)
XYZxyz(19.3640, 10.3826, 56.8495)
Luminance0.1038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731CA #84CA31
analogous
#3138CA #7731CA #C431CA
triadic
#7731CA #CA7731 #31CA77
tetradic
#7731CA #CA3138 #84CA31 #31CAC4
square
#7731CA #CA3138 #84CA31 #31CAC4
split-complementary
#7731CA #CAC431 #38CA31
monochromatic
#3D1967 #5A2599 #7731CA #9760D8 #B791E4

Accessibility & contrast

On white

6.83
#7731CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#7731CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7731CA
6.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731CA#FFFFFF#000000##FFFFFF
##7731CA1.006.833.086.83
#FFFFFF6.831.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BCE
Deuteranopia (green-blind)
#0059C7
Tritanopia (blue-blind)
#635A7C
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #7731ca;
/* rgb */ color: rgb(119, 49, 202);
/* oklch */ color: oklch(49.7% 0.219 298.8);
Tailwind
colors: {
  custom: {
    50: '#a671db',
    500: '#7731ca',
    950: '#000000',
  },
}
SCSS
$custom: #7731ca;
$custom-light: #a671db;
$custom-dark: #000000;
JSON
{
  "hex": "#7731ca",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 202
  },
  "hsl": {
    "h": 267.451,
    "s": 60.956,
    "l": 49.216
  },
  "oklch": {
    "l": 0.49678,
    "c": 0.21881,
    "h": 298.8
  },
  "luminance": 0.10383
}

Semantic roles & 50–950 ramp

primary
#7731CA
secondary
#AECF88
accent
#E4449B
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #7731CA

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

Preview Lab → · Contrast checker → · Palette generator →

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