#7152FF#7152FF

#7152FF is a mid, highly saturated violet. Relative luminance 0.168; OKLCH L 57.6% C 0.242 H 284.0°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#7152FF
RGBrgb(113, 82, 255)
HSLhsl(251, 100%, 66%)
HSVhsv(251, 68%, 100%)
CMYKcmyk(55.7%, 67.8%, 0%, 0%)
CIE-LABlab(47.96, 56.49, -81.74)
CIE-LCHlch(47.96, 99.36, 304.65°)
OKLaboklab(57.58% 0.0585 -0.2352)
OKLCHoklch(57.58% 0.242 284)
XYZxyz(27.8718, 16.7636, 96.3554)
Luminance0.1676 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#7152FF #E0FF52
analogous
#5289FF #7152FF #C752FF
triadic
#7152FF #FF7152 #52FF71
tetradic
#7152FF #FF5289 #E0FF52 #52FFC7
square
#7152FF #FF5289 #E0FF52 #52FFC7
split-complementary
#7152FF #FFC752 #89FF52
monochromatic
#2600D7 #3F15FF #7152FF #A38FFF #D5CCFF

Accessibility & contrast

On white

4.82
#7152FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#7152FF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #7152FF
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##7152FF#FFFFFF#000000##FFFFFF
##7152FF1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FF
Deuteranopia (green-blind)
#006CFC
Tritanopia (blue-blind)
#297FA2
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #7152ff;
/* rgb */ color: rgb(113, 82, 255);
/* oklch */ color: oklch(57.6% 0.242 284.0);
Tailwind
colors: {
  custom: {
    50: '#a785ff',
    500: '#7152ff',
    950: '#000000',
  },
}
SCSS
$custom: #7152ff;
$custom-light: #a785ff;
$custom-dark: #000000;
JSON
{
  "hex": "#7152ff",
  "rgb": {
    "r": 113,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 250.751,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.57579,
    "c": 0.24237,
    "h": 284
  },
  "luminance": 0.16765
}

Semantic roles & 50–950 ramp

primary
#7152FF
secondary
#E9F3BA
accent
#E600BC
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #7152FF

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

Preview Lab → · Contrast checker → · Palette generator →

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