#8252FF#8252FF

#8252FF is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.241 H 289.7°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8252FF
RGBrgb(130, 82, 255)
HSLhsl(257, 100%, 66%)
HSVhsv(257, 68%, 100%)
CMYKcmyk(49%, 67.8%, 0%, 0%)
CIE-LABlab(49.49, 59.14, -79.17)
CIE-LCHlch(49.49, 98.82, 306.76°)
OKLaboklab(59.05% 0.0811 -0.2271)
OKLCHoklch(59.05% 0.241 289.7)
XYZxyz(30.2680, 17.9991, 96.4677)
Luminance0.1800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252FF #CFFF52
analogous
#5278FF #8252FF #D852FF
triadic
#8252FF #FF8252 #52FF82
tetradic
#8252FF #FF5278 #CFFF52 #52FFD8
square
#8252FF #FF5278 #CFFF52 #52FFD8
split-complementary
#8252FF #FFD852 #78FF52
monochromatic
#3C00D7 #5615FF #8252FF #AE8FFF #DACCFF

Accessibility & contrast

On white

4.57
#8252FF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8252FF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8252FF
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252FF#FFFFFF#000000##000000
##8252FF1.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FF
Deuteranopia (green-blind)
#0071FC
Tritanopia (blue-blind)
#577EA2
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8252ff;
/* rgb */ color: rgb(130, 82, 255);
/* oklch */ color: oklch(59.0% 0.241 289.7);
Tailwind
colors: {
  custom: {
    50: '#b086ff',
    500: '#8252ff',
    950: '#000000',
  },
}
SCSS
$custom: #8252ff;
$custom-light: #b086ff;
$custom-dark: #000000;
JSON
{
  "hex": "#8252ff",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 255
  },
  "hsl": {
    "h": 256.647,
    "s": 100,
    "l": 66.078
  },
  "oklch": {
    "l": 0.59046,
    "c": 0.24118,
    "h": 289.7
  },
  "luminance": 0.18
}

Semantic roles & 50–950 ramp

primary
#8252FF
secondary
#E3F3BA
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120B18
muted
#817C86

Preview Lab

Preview with #8252FF

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

Preview Lab → · Contrast checker → · Palette generator →

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