#712CE2#712CE2

#712CE2 is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.7% C 0.247 H 292.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#712CE2
RGBrgb(113, 44, 226)
HSLhsl(263, 76%, 53%)
HSVhsv(263, 81%, 89%)
CMYKcmyk(50%, 80.5%, 0%, 11.4%)
CIE-LABlab(39.25, 66.21, -79.71)
CIE-LCHlch(39.25, 103.62, 309.72°)
OKLaboklab(50.67% 0.0932 -0.229)
OKLCHoklch(50.67% 0.247 292.1)
XYZxyz(21.4343, 10.8022, 72.8924)
Luminance0.1080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712CE2 #9DE22C
analogous
#2C42E2 #712CE2 #CC2CE2
triadic
#712CE2 #E2712C #2CE271
tetradic
#712CE2 #E22C42 #9DE22C #2CE2CC
square
#712CE2 #E22C42 #9DE22C #2CE2CC
split-complementary
#712CE2 #E2CC2C #42E22C
monochromatic
#3C1282 #5519B8 #712CE2 #9562E9 #B998F1

Accessibility & contrast

On white

6.64
#712CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#712CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #712CE2
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712CE2#FFFFFF#000000##FFFFFF
##712CE21.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE7
Deuteranopia (green-blind)
#0059DF
Tritanopia (blue-blind)
#4B6289
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #712ce2;
/* rgb */ color: rgb(113, 44, 226);
/* oklch */ color: oklch(50.7% 0.247 292.1);
Tailwind
colors: {
  custom: {
    50: '#a56fec',
    500: '#712ce2',
    950: '#000000',
  },
}
SCSS
$custom: #712ce2;
$custom-light: #a56fec;
$custom-dark: #000000;
JSON
{
  "hex": "#712ce2",
  "rgb": {
    "r": 113,
    "g": 44,
    "b": 226
  },
  "hsl": {
    "h": 262.747,
    "s": 75.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5067,
    "c": 0.24724,
    "h": 292.1
  },
  "luminance": 0.10803
}

Semantic roles & 50–950 ramp

primary
#712CE2
secondary
#BEDC8E
accent
#F235AB
background
#FBF7FE
surface
#F6EDFD
border
#D0C8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #712CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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