#712BB2#712BB2

#712BB2 is a mid, vivid violet. Relative luminance 0.085; OKLCH L 46.4% C 0.200 H 302.7°. Best body text is #FFFFFF at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#712BB2
RGBrgb(113, 43, 178)
HSLhsl(271, 61%, 43%)
HSVhsv(271, 76%, 70%)
CMYKcmyk(36.5%, 75.8%, 0%, 30.2%)
CIE-LABlab(34.91, 54.95, -58.86)
CIE-LCHlch(34.91, 80.53, 313.03°)
OKLaboklab(46.37% 0.1078 -0.1679)
OKLCHoklch(46.37% 0.2 302.7)
XYZxyz(15.7079, 8.4528, 42.9149)
Luminance0.0845 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BB2 #6CB22B
analogous
#2D2BB2 #712BB2 #B22BAF
triadic
#712BB2 #B2712B #2BB271
tetradic
#712BB2 #B22D2B #6CB22B #2BAFB2
square
#712BB2 #B22D2B #6CB22B #2BAFB2
split-complementary
#712BB2 #AFB22B #2BB22D
monochromatic
#32134F #521F81 #712BB2 #9048D3 #AE79DF

Accessibility & contrast

On white

7.80
#712BB2 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.69
#712BB2 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BB2
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BB2#FFFFFF#000000##FFFFFF
##712BB21.007.802.697.80
#FFFFFF7.801.0021.001.00
#0000002.6921.001.0021.00
##FFFFFF7.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B6
Deuteranopia (green-blind)
#0052AF
Tritanopia (blue-blind)
#634E6D
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712bb2;
/* rgb */ color: rgb(113, 43, 178);
/* oklch */ color: oklch(46.4% 0.200 302.7);
Tailwind
colors: {
  custom: {
    50: '#a06cca',
    500: '#712bb2',
    950: '#000000',
  },
}
SCSS
$custom: #712bb2;
$custom-light: #a06cca;
$custom-dark: #000000;
JSON
{
  "hex": "#712bb2",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 271.111,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.46366,
    "c": 0.19951,
    "h": 302.7
  },
  "luminance": 0.08453
}

Semantic roles & 50–950 ramp

primary
#712BB2
secondary
#9BC772
accent
#E44491
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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