#712BB8#712BB8

#712BB8 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.206 H 301.2°. Best body text is #FFFFFF at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#712BB8
RGBrgb(113, 43, 184)
HSLhsl(270, 62%, 45%)
HSVhsv(270, 77%, 72%)
CMYKcmyk(38.6%, 76.6%, 0%, 27.8%)
CIE-LABlab(35.40, 56.38, -61.62)
CIE-LCHlch(35.40, 83.52, 312.46°)
OKLaboklab(46.86% 0.1064 -0.176)
OKLCHoklch(46.86% 0.206 301.2)
XYZxyz(16.3235, 8.6990, 46.1572)
Luminance0.0870 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BB8 #72B82B
analogous
#2B2CB8 #712BB8 #B82BB8
triadic
#712BB8 #B8712B #2BB871
tetradic
#712BB8 #B82B2C #72B82B #2BB8B8
square
#712BB8 #B82B2C #72B82B #2BB8B8
split-complementary
#712BB8 #B8B82B #2CB82B
monochromatic
#341455 #531F86 #712BB8 #904BD5 #AE7DE1

Accessibility & contrast

On white

7.66
#712BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#712BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BB8
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BB8#FFFFFF#000000##FFFFFF
##712BB81.007.662.747.66
#FFFFFF7.661.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#615070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712bb8;
/* rgb */ color: rgb(113, 43, 184);
/* oklch */ color: oklch(46.9% 0.206 301.2);
Tailwind
colors: {
  custom: {
    50: '#a06cce',
    500: '#712bb8',
    950: '#000000',
  },
}
SCSS
$custom: #712bb8;
$custom-light: #a06cce;
$custom-dark: #000000;
JSON
{
  "hex": "#712bb8",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 269.787,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46862,
    "c": 0.20563,
    "h": 301.2
  },
  "luminance": 0.08699
}

Semantic roles & 50–950 ramp

primary
#712BB8
secondary
#A0C976
accent
#E54394
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #712BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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