#7152FA#7152FA

#7152FA is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.2% C 0.237 H 284.5°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#7152FA
RGBrgb(113, 82, 250)
HSLhsl(251, 94%, 65%)
HSVhsv(251, 67%, 98%)
CMYKcmyk(54.8%, 67.2%, 0%, 2%)
CIE-LABlab(47.55, 55.06, -79.62)
CIE-LCHlch(47.55, 96.80, 304.66°)
OKLaboklab(57.16% 0.0593 -0.229)
OKLCHoklch(57.16% 0.237 284.5)
XYZxyz(27.0774, 16.4458, 92.1715)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152FA #DBFA52
analogous
#5287FA #7152FA #C552FA
triadic
#7152FA #FA7152 #52FA71
tetradic
#7152FA #FA5287 #DBFA52 #52FAC5
square
#7152FA #FA5287 #DBFA52 #52FAC5
split-complementary
#7152FA #FAC552 #87FA52
monochromatic
#2A06CC #4017F8 #7152FA #A28DFC #D3C9FD

Accessibility & contrast

On white

4.90
#7152FA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#7152FA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152FA
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152FA#FFFFFF#000000##FFFFFF
##7152FA1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FF
Deuteranopia (green-blind)
#006BF7
Tritanopia (blue-blind)
#307DA0
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7152fa;
/* rgb */ color: rgb(113, 82, 250);
/* oklch */ color: oklch(57.2% 0.237 284.5);
Tailwind
colors: {
  custom: {
    50: '#a685fd',
    500: '#7152fa',
    950: '#000000',
  },
}
SCSS
$custom: #7152fa;
$custom-light: #a685fd;
$custom-dark: #000000;
JSON
{
  "hex": "#7152fa",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 250
  },
  "hsl": {
    "h": 251.071,
    "s": 94.382,
    "l": 65.098
  },
  "oklch": {
    "l": 0.57162,
    "c": 0.23653,
    "h": 284.5
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

primary
#7152FA
secondary
#E6F0B7
accent
#E600BB
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7152FA

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

Preview Lab → · Contrast checker → · Palette generator →

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