#7731BC#7731BC

#7731BC is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.5% C 0.204 H 302.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#7731BC
RGBrgb(119, 49, 188)
HSLhsl(270, 59%, 46%)
HSVhsv(270, 74%, 74%)
CMYKcmyk(36.7%, 73.9%, 0%, 26.3%)
CIE-LABlab(37.39, 55.84, -60.70)
CIE-LCHlch(37.39, 82.48, 312.61°)
OKLaboklab(48.53% 0.1087 -0.1731)
OKLCHoklch(48.53% 0.204 302.1)
XYZxyz(17.7810, 9.7493, 48.5122)
Luminance0.0975 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7731BC #76BC31
analogous
#3231BC #7731BC #BC31BC
triadic
#7731BC #BC7731 #31BC77
tetradic
#7731BC #BC3231 #76BC31 #31BCBC
square
#7731BC #BC3231 #76BC31 #31BCBC
split-complementary
#7731BC #BCBC31 #31BC32
monochromatic
#3A185B #58248B #7731BC #9657D3 #B488E0

Accessibility & contrast

On white

7.12
#7731BC on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#7731BC on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7731BC
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7731BC#FFFFFF#000000##FFFFFF
##7731BC1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0057C0
Deuteranopia (green-blind)
#0057B9
Tritanopia (blue-blind)
#685474
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #7731bc;
/* rgb */ color: rgb(119, 49, 188);
/* oklch */ color: oklch(48.5% 0.204 302.1);
Tailwind
colors: {
  custom: {
    50: '#a470d1',
    500: '#7731bc',
    950: '#000000',
  },
}
SCSS
$custom: #7731bc;
$custom-light: #a470d1;
$custom-dark: #000000;
JSON
{
  "hex": "#7731bc",
  "rgb": {
    "r": 119,
    "g": 49,
    "b": 188
  },
  "hsl": {
    "h": 270.216,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.48531,
    "c": 0.2044,
    "h": 302.1
  },
  "luminance": 0.09749
}

Semantic roles & 50–950 ramp

primary
#7731BC
secondary
#A4CA7F
accent
#E24693
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83

Preview Lab

Preview with #7731BC

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

Preview Lab → · Contrast checker → · Palette generator →

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