#712FBA#712FBA

#712FBA is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.203 H 300.2°. Best body text is #FFFFFF at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#712FBA
RGBrgb(113, 47, 186)
HSLhsl(268, 60%, 46%)
HSVhsv(268, 75%, 73%)
CMYKcmyk(39.2%, 74.7%, 0%, 27.1%)
CIE-LABlab(36.15, 55.17, -61.57)
CIE-LCHlch(36.15, 82.67, 311.86°)
OKLaboklab(47.44% 0.1024 -0.1758)
OKLCHoklch(47.44% 0.203 300.2)
XYZxyz(16.6873, 9.0888, 47.3200)
Luminance0.0909 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FBA #78BA2F
analogous
#2F32BA #712FBA #B62FBA
triadic
#712FBA #BA712F #2FBA71
tetradic
#712FBA #BA2F32 #78BA2F #2FBAB6
square
#712FBA #BA2F32 #78BA2F #2FBAB6
split-complementary
#712FBA #BAB62F #32BA2F
monochromatic
#361658 #532389 #712FBA #9053D3 #AF84E0

Accessibility & contrast

On white

7.45
#712FBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.82
#712FBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FBA
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FBA#FFFFFF#000000##FFFFFF
##712FBA1.007.452.827.45
#FFFFFF7.451.0021.001.00
#0000002.8221.001.0021.00
##FFFFFF7.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BE
Deuteranopia (green-blind)
#0054B7
Tritanopia (blue-blind)
#605372
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #712fba;
/* rgb */ color: rgb(113, 47, 186);
/* oklch */ color: oklch(47.4% 0.203 300.2);
Tailwind
colors: {
  custom: {
    50: '#a06ed0',
    500: '#712fba',
    950: '#000000',
  },
}
SCSS
$custom: #712fba;
$custom-light: #a06ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#712fba",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 186
  },
  "hsl": {
    "h": 268.489,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47444,
    "c": 0.20349,
    "h": 300.2
  },
  "luminance": 0.09089
}

Semantic roles & 50–950 ramp

primary
#712FBA
secondary
#A4C97C
accent
#E34598
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100814
muted
#7F7B82

Preview Lab

Preview with #712FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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