#8252F5#8252F5

#8252F5 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.3% C 0.230 H 291.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8252F5
RGBrgb(130, 82, 245)
HSLhsl(258, 89%, 64%)
HSVhsv(258, 67%, 96%)
CMYKcmyk(46.9%, 66.5%, 0%, 3.9%)
CIE-LABlab(48.73, 56.45, -74.85)
CIE-LCHlch(48.73, 93.75, 307.03°)
OKLaboklab(58.26% 0.0826 -0.2144)
OKLCHoklch(58.26% 0.23 291.1)
XYZxyz(28.7000, 17.3719, 88.2094)
Luminance0.1737 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252F5 #C5F552
analogous
#5274F5 #8252F5 #D452F5
triadic
#8252F5 #F58252 #52F582
tetradic
#8252F5 #F55274 #C5F552 #52F5D4
square
#8252F5 #F55274 #C5F552 #52F5D4
split-complementary
#8252F5 #F5D452 #74F552
monochromatic
#410BC1 #5818F2 #8252F5 #AC8CF8 #D6C6FC

Accessibility & contrast

On white

4.69
#8252F5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#8252F5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252F5
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252F5#FFFFFF#000000##FFFFFF
##8252F51.004.694.474.69
#FFFFFF4.691.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076FA
Deuteranopia (green-blind)
#0070F2
Tritanopia (blue-blind)
#5D7A9D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8252f5;
/* rgb */ color: rgb(130, 82, 245);
/* oklch */ color: oklch(58.3% 0.230 291.1);
Tailwind
colors: {
  custom: {
    50: '#af86fa',
    500: '#8252f5',
    950: '#000000',
  },
}
SCSS
$custom: #8252f5;
$custom-light: #af86fa;
$custom-dark: #000000;
JSON
{
  "hex": "#8252f5",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 245
  },
  "hsl": {
    "h": 257.669,
    "s": 89.071,
    "l": 64.118
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.22982,
    "h": 291.1
  },
  "luminance": 0.17373
}

Semantic roles & 50–950 ramp

primary
#8252F5
secondary
#DDEEB5
accent
#E600A2
background
#FBF8FF
surface
#F6EFFF
border
#D0CAD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8252F5

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

Preview Lab → · Contrast checker → · Palette generator →

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