#712EF2#712EF2

#712EF2 is a mid, highly saturated violet. Relative luminance 0.119; OKLCH L 52.3% C 0.262 H 289.3°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#712EF2
RGBrgb(113, 46, 242)
HSLhsl(261, 88%, 56%)
HSVhsv(261, 81%, 95%)
CMYKcmyk(53.3%, 81%, 0%, 5.1%)
CIE-LABlab(41.02, 69.43, -85.87)
CIE-LCHlch(41.02, 110.43, 308.96°)
OKLaboklab(52.35% 0.0867 -0.247)
OKLCHoklch(52.35% 0.262 289.3)
XYZxyz(23.8094, 11.8744, 85.0246)
Luminance0.1188 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712EF2 #AFF22E
analogous
#2E4DF2 #712EF2 #D32EF2
triadic
#712EF2 #F2712E #2EF271
tetradic
#712EF2 #F22E4D #AFF22E #2EF2D3
square
#712EF2 #F22E4D #AFF22E #2EF2D3
split-complementary
#712EF2 #F2D32E #4DF22E
monochromatic
#3C0A9C #520DD6 #712EF2 #9868F6 #BFA1F9

Accessibility & contrast

On white

6.22
#712EF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#712EF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #712EF2
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712EF2#FFFFFF#000000##FFFFFF
##712EF21.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0064F7
Deuteranopia (green-blind)
#005CEF
Tritanopia (blue-blind)
#3D6A92
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #712ef2;
/* rgb */ color: rgb(113, 46, 242);
/* oklch */ color: oklch(52.3% 0.262 289.3);
Tailwind
colors: {
  custom: {
    50: '#a771f8',
    500: '#712ef2',
    950: '#000000',
  },
}
SCSS
$custom: #712ef2;
$custom-light: #a771f8;
$custom-dark: #000000;
JSON
{
  "hex": "#712ef2",
  "rgb": {
    "r": 113,
    "g": 46,
    "b": 242
  },
  "hsl": {
    "h": 260.51,
    "s": 88.288,
    "l": 56.471
  },
  "oklch": {
    "l": 0.52346,
    "c": 0.26179,
    "h": 289.3
  },
  "luminance": 0.11876
}

Semantic roles & 50–950 ramp

primary
#712EF2
secondary
#CBE696
accent
#FE29B6
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#110817
muted
#807B85

Preview Lab

Preview with #712EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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