#712FF2#712FF2

#712FF2 is a mid, highly saturated violet. Relative luminance 0.120; OKLCH L 52.4% C 0.261 H 289.3°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#712FF2
RGBrgb(113, 47, 242)
HSLhsl(260, 88%, 57%)
HSVhsv(260, 81%, 95%)
CMYKcmyk(53.3%, 80.6%, 0%, 5.1%)
CIE-LABlab(41.14, 69.06, -85.66)
CIE-LCHlch(41.14, 110.03, 308.88°)
OKLaboklab(52.43% 0.0861 -0.2464)
OKLCHoklch(52.43% 0.261 289.3)
XYZxyz(23.8489, 11.9534, 85.0378)
Luminance0.1196 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#712FF2 #B0F22F
analogous
#2F4FF2 #712FF2 #D32FF2
triadic
#712FF2 #F2712F #2FF271
tetradic
#712FF2 #F22F4F #B0F22F #2FF2D3
square
#712FF2 #F22F4F #B0F22F #2FF2D3
split-complementary
#712FF2 #F2D32F #4FF22F
monochromatic
#3C0A9D #510DD6 #712FF2 #9869F6 #C0A2F9

Accessibility & contrast

On white

6.19
#712FF2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#712FF2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #712FF2
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##712FF2#FFFFFF#000000##FFFFFF
##712FF21.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #712ff2;
/* rgb */ color: rgb(113, 47, 242);
/* oklch */ color: oklch(52.4% 0.261 289.3);
Tailwind
colors: {
  custom: {
    50: '#a771f8',
    500: '#712ff2',
    950: '#000000',
  },
}
SCSS
$custom: #712ff2;
$custom-light: #a771f8;
$custom-dark: #000000;
JSON
{
  "hex": "#712ff2",
  "rgb": {
    "r": 113,
    "g": 47,
    "b": 242
  },
  "hsl": {
    "h": 260.308,
    "s": 88.235,
    "l": 56.667
  },
  "oklch": {
    "l": 0.52433,
    "c": 0.26105,
    "h": 289.3
  },
  "luminance": 0.11955
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #712FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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