#712CA8#712CA8

#712CA8 is a mid, vivid violet. Relative luminance 0.081; OKLCH L 45.7% C 0.188 H 305.4°. Best body text is #FFFFFF at 7.99:1 contrast (WCAG AA passes).

Color values

HEX#712CA8
RGBrgb(113, 44, 168)
HSLhsl(273, 58%, 42%)
HSVhsv(273, 74%, 66%)
CMYKcmyk(32.7%, 73.8%, 0%, 34.1%)
CIE-LABlab(34.27, 52.17, -53.93)
CIE-LCHlch(34.27, 75.03, 314.05°)
OKLaboklab(45.67% 0.109 -0.1534)
OKLCHoklch(45.67% 0.188 305.4)
XYZxyz(14.7770, 8.1393, 37.8308)
Luminance0.0814 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CA8 #63A82C
analogous
#332CA8 #712CA8 #A82CA1
triadic
#712CA8 #A8712C #2CA871
tetradic
#712CA8 #A8332C #63A82C #2CA1A8
square
#712CA8 #A8332C #63A82C #2CA1A8
split-complementary
#712CA8 #A1A82C #2CA833
monochromatic
#301347 #501F78 #712CA8 #9043CE #AD74DB

Accessibility & contrast

On white

7.99
#712CA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.63
#712CA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CA8
7.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CA8#FFFFFF#000000##FFFFFF
##712CA81.007.992.637.99
#FFFFFF7.991.0021.001.00
#0000002.6321.001.0021.00
##FFFFFF7.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004FAC
Deuteranopia (green-blind)
#0051A5
Tritanopia (blue-blind)
#674A68
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #712ca8;
/* rgb */ color: rgb(113, 44, 168);
/* oklch */ color: oklch(45.7% 0.188 305.4);
Tailwind
colors: {
  custom: {
    50: '#9f6cc3',
    500: '#712ca8',
    950: '#000000',
  },
}
SCSS
$custom: #712ca8;
$custom-light: #9f6cc3;
$custom-dark: #000000;
JSON
{
  "hex": "#712ca8",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 168
  },
  "hsl": {
    "h": 273.387,
    "s": 58.491,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4567,
    "c": 0.18816,
    "h": 305.4
  },
  "luminance": 0.08139
}

Semantic roles & 50–950 ramp

primary
#712CA8
secondary
#93C26E
accent
#E2468B
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #712CA8

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

Preview Lab → · Contrast checker → · Palette generator →

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