#712DB3#712DB3

#712DB3 is a mid, vivid violet. Relative luminance 0.086; OKLCH L 46.7% C 0.198 H 302.2°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#712DB3
RGBrgb(113, 45, 179)
HSLhsl(270, 60%, 44%)
HSVhsv(270, 75%, 70%)
CMYKcmyk(36.9%, 74.9%, 0%, 29.8%)
CIE-LABlab(35.29, 54.34, -58.84)
CIE-LCHlch(35.29, 80.10, 312.72°)
OKLaboklab(46.66% 0.1058 -0.1678)
OKLCHoklch(46.66% 0.198 302.2)
XYZxyz(15.8832, 8.6421, 43.4704)
Luminance0.0864 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712DB3 #6FB32D
analogous
#2E2DB3 #712DB3 #B32DB2
triadic
#712DB3 #B3712D #2DB371
tetradic
#712DB3 #B32E2D #6FB32D #2DB2B3
square
#712DB3 #B32E2D #6FB32D #2DB2B3
split-complementary
#712DB3 #B2B32D #2DB32E
monochromatic
#331451 #522182 #712DB3 #904BD2 #AE7CDE

Accessibility & contrast

On white

7.70
#712DB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#712DB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712DB3
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712DB3#FFFFFF#000000##FFFFFF
##712DB31.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#634F6E
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712db3;
/* rgb */ color: rgb(113, 45, 179);
/* oklch */ color: oklch(46.7% 0.198 302.2);
Tailwind
colors: {
  custom: {
    50: '#a06dcb',
    500: '#712db3',
    950: '#000000',
  },
}
SCSS
$custom: #712db3;
$custom-light: #a06dcb;
$custom-dark: #000000;
JSON
{
  "hex": "#712db3",
  "rgb": {
    "r": 113,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 270.448,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.46656,
    "c": 0.19838,
    "h": 302.2
  },
  "luminance": 0.08642
}

Semantic roles & 50–950 ramp

primary
#712DB3
secondary
#9DC775
accent
#E34593
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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