#712CCA#712CCA

#712CCA is a mid, highly saturated violet. Relative luminance 0.096; OKLCH L 48.5% C 0.223 H 296.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#712CCA
RGBrgb(113, 44, 202)
HSLhsl(266, 64%, 48%)
HSVhsv(266, 78%, 79%)
CMYKcmyk(44.1%, 78.2%, 0%, 20.8%)
CIE-LABlab(37.07, 60.33, -69.45)
CIE-LCHlch(37.07, 91.99, 310.98°)
OKLaboklab(48.5% 0.1007 -0.1989)
OKLCHoklch(48.5% 0.223 296.8)
XYZxyz(18.3686, 9.5759, 56.7462)
Luminance0.0958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CCA #85CA2C
analogous
#2C36CA #712CCA #C02CCA
triadic
#712CCA #CA712C #2CCA71
tetradic
#712CCA #CA2C36 #85CA2C #2CCAC0
square
#712CCA #CA2C36 #85CA2C #2CCAC0
split-complementary
#712CCA #CAC02C #36CA2C
monochromatic
#391665 #552198 #712CCA #9158DB #B28BE6

Accessibility & contrast

On white

7.20
#712CCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#712CCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #712CCA
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CCA#FFFFFF#000000##FFFFFF
##712CCA1.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CE
Deuteranopia (green-blind)
#0055C7
Tritanopia (blue-blind)
#59587B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #712cca;
/* rgb */ color: rgb(113, 44, 202);
/* oklch */ color: oklch(48.5% 0.223 296.8);
Tailwind
colors: {
  custom: {
    50: '#a26ddb',
    500: '#712cca',
    950: '#000000',
  },
}
SCSS
$custom: #712cca;
$custom-light: #a26ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#712cca",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 202
  },
  "hsl": {
    "h": 266.203,
    "s": 64.228,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48502,
    "c": 0.22297,
    "h": 296.8
  },
  "luminance": 0.09576
}

Semantic roles & 50–950 ramp

primary
#712CCA
secondary
#AED082
accent
#E7419E
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #712CCA

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

Preview Lab → · Contrast checker → · Palette generator →

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