#7152F3#7152F3

#7152F3 is a mid, highly saturated violet. Relative luminance 0.160; OKLCH L 56.6% C 0.228 H 285.3°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#7152F3
RGBrgb(113, 82, 243)
HSLhsl(252, 87%, 64%)
HSVhsv(252, 66%, 95%)
CMYKcmyk(53.5%, 66.3%, 0%, 4.7%)
CIE-LABlab(46.99, 53.05, -76.62)
CIE-LCHlch(46.99, 93.19, 304.70°)
OKLaboklab(56.59% 0.0603 -0.2202)
OKLCHoklch(56.59% 0.228 285.3)
XYZxyz(26.0001, 16.0149, 86.4978)
Luminance0.1602 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152F3 #D4F352
analogous
#5283F3 #7152F3 #C152F3
triadic
#7152F3 #F37152 #52F371
tetradic
#7152F3 #F35283 #D4F352 #52F3C1
square
#7152F3 #F35283 #D4F352 #52F3C1
split-complementary
#7152F3 #F3C152 #83F352
monochromatic
#2F0DBD #4219EF #7152F3 #A08BF7 #CFC4FB

Accessibility & contrast

On white

5.00
#7152F3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#7152F3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152F3
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152F3#FFFFFF#000000##FFFFFF
##7152F31.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0074F8
Deuteranopia (green-blind)
#006AF0
Tritanopia (blue-blind)
#397B9C
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #7152f3;
/* rgb */ color: rgb(113, 82, 243);
/* oklch */ color: oklch(56.6% 0.228 285.3);
Tailwind
colors: {
  custom: {
    50: '#a585f8',
    500: '#7152f3',
    950: '#000000',
  },
}
SCSS
$custom: #7152f3;
$custom-light: #a585f8;
$custom-dark: #000000;
JSON
{
  "hex": "#7152f3",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 243
  },
  "hsl": {
    "h": 251.553,
    "s": 87.027,
    "l": 63.725
  },
  "oklch": {
    "l": 0.56586,
    "c": 0.22829,
    "h": 285.3
  },
  "luminance": 0.16016
}

Semantic roles & 50–950 ramp

primary
#7152F3
secondary
#E2EDB4
accent
#E402B8
background
#FAF8FF
surface
#F4EFFF
border
#CECAD7
text
#100B17
muted
#7F7C85

Preview Lab

Preview with #7152F3

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

Preview Lab → · Contrast checker → · Palette generator →

#7152F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva