#7152F9#7152F9

#7152F9 is a mid, highly saturated violet. Relative luminance 0.164; OKLCH L 57.1% C 0.235 H 284.6°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#7152F9
RGBrgb(113, 82, 249)
HSLhsl(251, 93%, 65%)
HSVhsv(251, 67%, 98%)
CMYKcmyk(54.6%, 67.1%, 0%, 2.4%)
CIE-LABlab(47.47, 54.77, -79.19)
CIE-LCHlch(47.47, 96.29, 304.67°)
OKLaboklab(57.08% 0.0594 -0.2277)
OKLCHoklch(57.08% 0.235 284.6)
XYZxyz(26.9210, 16.3833, 91.3479)
Luminance0.1638 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152F9 #DAF952
analogous
#5286F9 #7152F9 #C552F9
triadic
#7152F9 #F97152 #52F971
tetradic
#7152F9 #F95286 #DAF952 #52F9C5
square
#7152F9 #F95286 #DAF952 #52F9C5
split-complementary
#7152F9 #F9C552 #86F952
monochromatic
#2B07CA #4017F7 #7152F9 #A28DFB #D2C8FD

Accessibility & contrast

On white

4.91
#7152F9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#7152F9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152F9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152F9#FFFFFF#000000##FFFFFF
##7152F91.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075FE
Deuteranopia (green-blind)
#006BF6
Tritanopia (blue-blind)
#327D9F
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #7152f9;
/* rgb */ color: rgb(113, 82, 249);
/* oklch */ color: oklch(57.1% 0.235 284.6);
Tailwind
colors: {
  custom: {
    50: '#a685fc',
    500: '#7152f9',
    950: '#000000',
  },
}
SCSS
$custom: #7152f9;
$custom-light: #a685fc;
$custom-dark: #000000;
JSON
{
  "hex": "#7152f9",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 249
  },
  "hsl": {
    "h": 251.138,
    "s": 93.296,
    "l": 64.902
  },
  "oklch": {
    "l": 0.57079,
    "c": 0.23536,
    "h": 284.6
  },
  "luminance": 0.16385
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #7152F9

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

Preview Lab → · Contrast checker → · Palette generator →

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