#712EDB#712EDB

#712EDB is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.239 H 293.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#712EDB
RGBrgb(113, 46, 219)
HSLhsl(263, 71%, 52%)
HSVhsv(263, 79%, 86%)
CMYKcmyk(48.4%, 79%, 0%, 14.1%)
CIE-LABlab(38.86, 63.72, -76.33)
CIE-LCHlch(38.86, 99.43, 309.85°)
OKLaboklab(50.21% 0.0941 -0.2191)
OKLCHoklch(50.21% 0.239 293.2)
XYZxyz(20.5697, 10.5785, 67.9621)
Luminance0.1058 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EDB #98DB2E
analogous
#2E42DB #712EDB #C82EDB
triadic
#712EDB #DB712E #2EDB71
tetradic
#712EDB #DB2E42 #98DB2E #2EDBC8
square
#712EDB #DB2E42 #98DB2E #2EDBC8
split-complementary
#712EDB #DBC82E #42DB2E
monochromatic
#3C157A #561EAE #712EDB #9462E4 #B896ED

Accessibility & contrast

On white

6.74
#712EDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#712EDB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #712EDB
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EDB#FFFFFF#000000##FFFFFF
##712EDB1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DE0
Deuteranopia (green-blind)
#0058D8
Tritanopia (blue-blind)
#4F6085
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #712edb;
/* rgb */ color: rgb(113, 46, 219);
/* oklch */ color: oklch(50.2% 0.239 293.2);
Tailwind
colors: {
  custom: {
    50: '#a46fe7',
    500: '#712edb',
    950: '#000000',
  },
}
SCSS
$custom: #712edb;
$custom-light: #a46fe7;
$custom-dark: #000000;
JSON
{
  "hex": "#712edb",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 219
  },
  "hsl": {
    "h": 263.237,
    "s": 70.612,
    "l": 51.961
  },
  "oklch": {
    "l": 0.50209,
    "c": 0.23851,
    "h": 293.2
  },
  "luminance": 0.10579
}

Semantic roles & 50–950 ramp

primary
#712EDB
secondary
#BBD88D
accent
#ED3AA8
background
#FAF7FE
surface
#F4EDFD
border
#CEC8D5
text
#100816
muted
#7F7B84

Preview Lab

Preview with #712EDB

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

Preview Lab → · Contrast checker → · Palette generator →

#712EDB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva