#712FB2#712FB2

#712FB2 is a mid, vivid violet. Relative luminance 0.088; OKLCH L 46.8% C 0.195 H 302.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#712FB2
RGBrgb(113, 47, 178)
HSLhsl(270, 58%, 44%)
HSVhsv(270, 74%, 70%)
CMYKcmyk(36.5%, 73.6%, 0%, 30.2%)
CIE-LABlab(35.51, 53.23, -57.88)
CIE-LCHlch(35.51, 78.63, 312.60°)
OKLaboklab(46.79% 0.1041 -0.165)
OKLCHoklch(46.79% 0.195 302.3)
XYZxyz(15.8605, 8.7580, 42.9657)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FB2 #70B22F
analogous
#302FB2 #712FB2 #B22FB2
triadic
#712FB2 #B2712F #2FB271
tetradic
#712FB2 #B2302F #70B22F #2FB2B2
square
#712FB2 #B2302F #70B22F #2FB2B2
split-complementary
#712FB2 #B2B22F #2FB230
monochromatic
#341551 #522282 #712FB2 #904ED0 #AE7EDD

Accessibility & contrast

On white

7.63
#712FB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#712FB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FB2
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FB2#FFFFFF#000000##FFFFFF
##712FB21.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052B6
Deuteranopia (green-blind)
#0053AF
Tritanopia (blue-blind)
#63506E
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #712fb2;
/* rgb */ color: rgb(113, 47, 178);
/* oklch */ color: oklch(46.8% 0.195 302.3);
Tailwind
colors: {
  custom: {
    50: '#9f6eca',
    500: '#712fb2',
    950: '#000000',
  },
}
SCSS
$custom: #712fb2;
$custom-light: #9f6eca;
$custom-dark: #000000;
JSON
{
  "hex": "#712fb2",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 178
  },
  "hsl": {
    "h": 270.229,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.46793,
    "c": 0.19511,
    "h": 302.3
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#712FB2
secondary
#9EC677
accent
#E14693
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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