#712FB8#712FB8

#712FB8 is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.201 H 300.7°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#712FB8
RGBrgb(113, 47, 184)
HSLhsl(269, 59%, 45%)
HSVhsv(269, 74%, 72%)
CMYKcmyk(38.6%, 74.5%, 0%, 27.8%)
CIE-LABlab(35.99, 54.68, -60.65)
CIE-LCHlch(35.99, 81.67, 312.04°)
OKLaboklab(47.28% 0.1028 -0.1732)
OKLCHoklch(47.28% 0.201 300.7)
XYZxyz(16.4762, 9.0043, 46.2081)
Luminance0.0900 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FB8 #76B82F
analogous
#2F32B8 #712FB8 #B52FB8
triadic
#712FB8 #B8712F #2FB871
tetradic
#712FB8 #B82F32 #76B82F #2FB8B5
square
#712FB8 #B82F32 #76B82F #2FB8B5
split-complementary
#712FB8 #B8B52F #32B82F
monochromatic
#351657 #532387 #712FB8 #9052D3 #AF82DF

Accessibility & contrast

On white

7.50
#712FB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#712FB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712FB8
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FB8#FFFFFF#000000##FFFFFF
##712FB81.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BC
Deuteranopia (green-blind)
#0054B5
Tritanopia (blue-blind)
#615271
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #712fb8;
/* rgb */ color: rgb(113, 47, 184);
/* oklch */ color: oklch(47.3% 0.201 300.7);
Tailwind
colors: {
  custom: {
    50: '#a06ece',
    500: '#712fb8',
    950: '#000000',
  },
}
SCSS
$custom: #712fb8;
$custom-light: #a06ece;
$custom-dark: #000000;
JSON
{
  "hex": "#712fb8",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 184
  },
  "hsl": {
    "h": 268.905,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47279,
    "c": 0.2014,
    "h": 300.7
  },
  "luminance": 0.09004
}

Semantic roles & 50–950 ramp

primary
#712FB8
secondary
#A3C87B
accent
#E24597
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #712FB8

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

Preview Lab → · Contrast checker → · Palette generator →

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