#8252F7#8252F7

#8252F7 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.232 H 290.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#8252F7
RGBrgb(130, 82, 247)
HSLhsl(257, 91%, 65%)
HSVhsv(257, 67%, 97%)
CMYKcmyk(47.4%, 66.8%, 0%, 3.1%)
CIE-LABlab(48.88, 56.99, -75.72)
CIE-LCHlch(48.88, 94.77, 306.97°)
OKLaboklab(58.41% 0.0824 -0.217)
OKLCHoklch(58.41% 0.232 290.8)
XYZxyz(29.0070, 17.4947, 89.8261)
Luminance0.1750 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252F7 #C7F752
analogous
#5274F7 #8252F7 #D552F7
triadic
#8252F7 #F78252 #52F782
tetradic
#8252F7 #F75274 #C7F752 #52F7D5
square
#8252F7 #F75274 #C7F752 #52F7D5
split-complementary
#8252F7 #F7D552 #74F752
monochromatic
#4009C5 #5818F4 #8252F7 #AC8CFA #D7C7FC

Accessibility & contrast

On white

4.67
#8252F7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#8252F7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8252F7
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252F7#FFFFFF#000000##FFFFFF
##8252F71.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077FC
Deuteranopia (green-blind)
#0070F4
Tritanopia (blue-blind)
#5C7B9E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8252f7;
/* rgb */ color: rgb(130, 82, 247);
/* oklch */ color: oklch(58.4% 0.232 290.8);
Tailwind
colors: {
  custom: {
    50: '#af86fb',
    500: '#8252f7',
    950: '#000000',
  },
}
SCSS
$custom: #8252f7;
$custom-light: #af86fb;
$custom-dark: #000000;
JSON
{
  "hex": "#8252f7",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 247
  },
  "hsl": {
    "h": 257.455,
    "s": 91.16,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58412,
    "c": 0.2321,
    "h": 290.8
  },
  "luminance": 0.17496
}

Semantic roles & 50–950 ramp

primary
#8252F7
secondary
#DEEFB6
accent
#E600A3
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #8252F7

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

Preview Lab → · Contrast checker → · Palette generator →

#8252F7 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva