#712BB7#712BB7

#712BB7 is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.8% C 0.205 H 301.4°. Best body text is #FFFFFF at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#712BB7
RGBrgb(113, 43, 183)
HSLhsl(270, 62%, 44%)
HSVhsv(270, 77%, 72%)
CMYKcmyk(38.3%, 76.5%, 0%, 28.2%)
CIE-LABlab(35.32, 56.14, -61.17)
CIE-LCHlch(35.32, 83.03, 312.55°)
OKLaboklab(46.78% 0.1066 -0.1746)
OKLCHoklch(46.78% 0.205 301.4)
XYZxyz(16.2191, 8.6573, 45.6071)
Luminance0.0866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BB7 #71B72B
analogous
#2B2BB7 #712BB7 #B72BB7
triadic
#712BB7 #B7712B #2BB771
tetradic
#712BB7 #B72B2B #71B72B #2BB7B7
square
#712BB7 #B72B2B #71B72B #2BB7B7
split-complementary
#712BB7 #B7B72B #2BB72B
monochromatic
#341454 #521F85 #712BB7 #904BD5 #AE7CE0

Accessibility & contrast

On white

7.69
#712BB7 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #712BB7
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BB7#FFFFFF#000000##FFFFFF
##712BB71.007.692.737.69
#FFFFFF7.691.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BB
Deuteranopia (green-blind)
#0052B4
Tritanopia (blue-blind)
#615070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #712bb7;
/* rgb */ color: rgb(113, 43, 183);
/* oklch */ color: oklch(46.8% 0.205 301.4);
Tailwind
colors: {
  custom: {
    50: '#a06cce',
    500: '#712bb7',
    950: '#000000',
  },
}
SCSS
$custom: #712bb7;
$custom-light: #a06cce;
$custom-dark: #000000;
JSON
{
  "hex": "#712bb7",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 183
  },
  "hsl": {
    "h": 270,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.46778,
    "c": 0.20461,
    "h": 301.4
  },
  "luminance": 0.08657
}

Semantic roles & 50–950 ramp

primary
#712BB7
secondary
#9FC975
accent
#E54394
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #712BB7

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

Preview Lab → · Contrast checker → · Palette generator →

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