#8252BE#8252BE

#8252BE is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.3% C 0.165 H 301.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#8252BE
RGBrgb(130, 82, 190)
HSLhsl(267, 45%, 53%)
HSVhsv(267, 57%, 75%)
CMYKcmyk(31.6%, 56.8%, 0%, 25.5%)
CIE-LABlab(44.94, 42.06, -49.61)
CIE-LCHlch(44.94, 65.04, 310.29°)
OKLaboklab(54.31% 0.0865 -0.1403)
OKLCHoklch(54.31% 0.165 301.7)
XYZxyz(21.5153, 14.4981, 50.3701)
Luminance0.1450 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252BE #8EBE52
analogous
#5258BE #8252BE #B852BE
triadic
#8252BE #BE8252 #52BE82
tetradic
#8252BE #BE5258 #8EBE52 #52BEB8
square
#8252BE #BE5258 #8EBE52 #52BEB8
split-complementary
#8252BE #BEB852 #58BE52
monochromatic
#47296D #643A99 #8252BE #A27ECF #C2ABDF

Accessibility & contrast

On white

5.39
#8252BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#8252BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252BE
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252BE#FFFFFF#000000##FFFFFF
##8252BE1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246AC2
Deuteranopia (green-blind)
#366ABB
Tritanopia (blue-blind)
#766880
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8252be;
/* rgb */ color: rgb(130, 82, 190);
/* oklch */ color: oklch(54.3% 0.165 301.7);
Tailwind
colors: {
  custom: {
    50: '#aa84d2',
    500: '#8252be',
    950: '#000000',
  },
}
SCSS
$custom: #8252be;
$custom-light: #aa84d2;
$custom-dark: #000000;
JSON
{
  "hex": "#8252be",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 190
  },
  "hsl": {
    "h": 266.667,
    "s": 45.378,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5431,
    "c": 0.1648,
    "h": 301.7
  },
  "luminance": 0.14498
}

Semantic roles & 50–950 ramp

primary
#8252BE
secondary
#B8CD9F
accent
#D5539B
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83

Preview Lab

Preview with #8252BE

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

Preview Lab → · Contrast checker → · Palette generator →

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