#7031BE#7031BE

#7031BE is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 47.9% C 0.205 H 298.6°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#7031BE
RGBrgb(112, 49, 190)
HSLhsl(267, 59%, 47%)
HSVhsv(267, 74%, 75%)
CMYKcmyk(41.1%, 74.2%, 0%, 25.5%)
CIE-LABlab(36.67, 55.10, -63.10)
CIE-LCHlch(36.67, 83.77, 311.13°)
OKLaboklab(47.88% 0.0982 -0.1804)
OKLCHoklch(47.88% 0.205 298.6)
XYZxyz(17.0723, 9.3588, 49.6122)
Luminance0.0936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7031BE #7FBE31
analogous
#3138BE #7031BE #B731BE
triadic
#7031BE #BE7031 #31BE70
tetradic
#7031BE #BE3138 #7FBE31 #31BEB7
square
#7031BE #BE3138 #7FBE31 #31BEB7
split-complementary
#7031BE #BEB731 #38BE31
monochromatic
#37185D #53248D #7031BE #9058D4 #B089E1

Accessibility & contrast

On white

7.31
#7031BE on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#7031BE on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #7031BE
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7031BE#FFFFFF#000000##FFFFFF
##7031BE1.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056C2
Deuteranopia (green-blind)
#0055BB
Tritanopia (blue-blind)
#5D5575
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #7031be;
/* rgb */ color: rgb(112, 49, 190);
/* oklch */ color: oklch(47.9% 0.205 298.6);
Tailwind
colors: {
  custom: {
    50: '#a06fd3',
    500: '#7031be',
    950: '#000000',
  },
}
SCSS
$custom: #7031be;
$custom-light: #a06fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#7031be",
  "rgb": {
    "r": 112,
    "g": 49,
    "b": 190
  },
  "hsl": {
    "h": 266.809,
    "s": 58.996,
    "l": 46.863
  },
  "oklch": {
    "l": 0.47878,
    "c": 0.20539,
    "h": 298.6
  },
  "luminance": 0.09359
}

Semantic roles & 50–950 ramp

primary
#7031BE
secondary
#A9CA80
accent
#E2469C
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#0F0814
muted
#7F7B83

Preview Lab

Preview with #7031BE

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

Preview Lab → · Contrast checker → · Palette generator →

#7031BE Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva