#7051F2#7051F2

#7051F2 is a mid, highly saturated violet. Relative luminance 0.157; OKLCH L 56.3% C 0.228 H 285.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#7051F2
RGBrgb(112, 81, 242)
HSLhsl(252, 86%, 63%)
HSVhsv(252, 67%, 95%)
CMYKcmyk(53.7%, 66.5%, 0%, 5.1%)
CIE-LABlab(46.63, 53.14, -76.66)
CIE-LCHlch(46.63, 93.27, 304.73°)
OKLaboklab(56.28% 0.06 -0.2203)
OKLCHoklch(56.28% 0.228 285.2)
XYZxyz(25.6467, 15.7390, 85.6737)
Luminance0.1574 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7051F2 #D3F251
analogous
#5182F2 #7051F2 #C051F2
triadic
#7051F2 #F27051 #51F270
tetradic
#7051F2 #F25182 #D3F251 #51F2C0
square
#7051F2 #F25182 #D3F251 #51F2C0
split-complementary
#7051F2 #F2C051 #82F251
monochromatic
#2F0EBB #4118EE #7051F2 #9F8AF6 #CEC3FB

Accessibility & contrast

On white

5.06
#7051F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#7051F2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7051F2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7051F2#FFFFFF#000000##FFFFFF
##7051F21.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073F7
Deuteranopia (green-blind)
#006AEF
Tritanopia (blue-blind)
#377A9B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #7051f2;
/* rgb */ color: rgb(112, 81, 242);
/* oklch */ color: oklch(56.3% 0.228 285.2);
Tailwind
colors: {
  custom: {
    50: '#a484f7',
    500: '#7051f2',
    950: '#000000',
  },
}
SCSS
$custom: #7051f2;
$custom-light: #a484f7;
$custom-dark: #000000;
JSON
{
  "hex": "#7051f2",
  "rgb": {
    "r": 112,
    "g": 81,
    "b": 242
  },
  "hsl": {
    "h": 251.553,
    "s": 86.096,
    "l": 63.333
  },
  "oklch": {
    "l": 0.56279,
    "c": 0.22834,
    "h": 285.2
  },
  "luminance": 0.1574
}

Semantic roles & 50–950 ramp

primary
#7051F2
secondary
#E1ECB3
accent
#E303B8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7051F2

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

Preview Lab → · Contrast checker → · Palette generator →

#7051F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva