#712BB3#712BB3

#712BB3 is a mid, highly saturated violet. Relative luminance 0.085; OKLCH L 46.4% C 0.201 H 302.4°. Best body text is #FFFFFF at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#712BB3
RGBrgb(113, 43, 179)
HSLhsl(271, 61%, 44%)
HSVhsv(271, 76%, 70%)
CMYKcmyk(36.9%, 76%, 0%, 29.8%)
CIE-LABlab(34.99, 55.19, -59.33)
CIE-LCHlch(34.99, 81.03, 312.93°)
OKLaboklab(46.45% 0.1076 -0.1692)
OKLCHoklch(46.45% 0.201 302.4)
XYZxyz(15.8087, 8.4931, 43.4456)
Luminance0.0849 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712BB3 #6DB32B
analogous
#2D2BB3 #712BB3 #B32BB1
triadic
#712BB3 #B3712B #2BB371
tetradic
#712BB3 #B32D2B #6DB32B #2BB1B3
square
#712BB3 #B32D2B #6DB32B #2BB1B3
split-complementary
#712BB3 #B1B32B #2BB32D
monochromatic
#331350 #521F82 #712BB3 #9048D3 #AE79DF

Accessibility & contrast

On white

7.78
#712BB3 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.70
#712BB3 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712BB3
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712BB3#FFFFFF#000000##FFFFFF
##712BB31.007.782.707.78
#FFFFFF7.781.0021.001.00
#0000002.7021.001.0021.00
##FFFFFF7.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0051B7
Deuteranopia (green-blind)
#0052B0
Tritanopia (blue-blind)
#634E6E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #712bb3;
/* rgb */ color: rgb(113, 43, 179);
/* oklch */ color: oklch(46.4% 0.201 302.4);
Tailwind
colors: {
  custom: {
    50: '#a06ccb',
    500: '#712bb3',
    950: '#000000',
  },
}
SCSS
$custom: #712bb3;
$custom-light: #a06ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#712bb3",
  "rgb": {
    "r": 113,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 270.882,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.46448,
    "c": 0.20054,
    "h": 302.4
  },
  "luminance": 0.08493
}

Semantic roles & 50–950 ramp

primary
#712BB3
secondary
#9CC773
accent
#E44392
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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