#8252CB#8252CB

#8252CB is a mid, vivid violet. Relative luminance 0.151; OKLCH L 55.2% C 0.181 H 298.6°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#8252CB
RGBrgb(130, 82, 203)
HSLhsl(264, 54%, 56%)
HSVhsv(264, 60%, 80%)
CMYKcmyk(36%, 59.6%, 0%, 20.4%)
CIE-LABlab(45.76, 45.37, -55.82)
CIE-LCHlch(45.76, 71.93, 309.11°)
OKLaboklab(55.17% 0.0864 -0.1585)
OKLCHoklch(55.17% 0.181 298.6)
XYZxyz(23.0000, 15.0919, 58.1896)
Luminance0.1509 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8252CB #9BCB52
analogous
#525ECB #8252CB #BF52CB
triadic
#8252CB #CB8252 #52CB82
tetradic
#8252CB #CB525E #9BCB52 #52CBBF
square
#8252CB #CB525E #9BCB52 #52CBBF
split-complementary
#8252CB #CBBF52 #5ECB52
monochromatic
#48267D #6334AC #8252CB #A481D9 #C6B0E7

Accessibility & contrast

On white

5.23
#8252CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8252CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8252CB
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8252CB#FFFFFF#000000##FFFFFF
##8252CB1.005.234.025.23
#FFFFFF5.231.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#026CCF
Deuteranopia (green-blind)
#256BC8
Tritanopia (blue-blind)
#726C87
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8252cb;
/* rgb */ color: rgb(130, 82, 203);
/* oklch */ color: oklch(55.2% 0.181 298.6);
Tailwind
colors: {
  custom: {
    50: '#ab85db',
    500: '#8252cb',
    950: '#000000',
  },
}
SCSS
$custom: #8252cb;
$custom-light: #ab85db;
$custom-dark: #000000;
JSON
{
  "hex": "#8252cb",
  "rgb": {
    "r": 130,
    "g": 82,
    "b": 203
  },
  "hsl": {
    "h": 263.802,
    "s": 53.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.55174,
    "c": 0.18052,
    "h": 298.6
  },
  "luminance": 0.15092
}

Semantic roles & 50–950 ramp

primary
#8252CB
secondary
#C2D5A3
accent
#DD4BA3
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8252CB

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

Preview Lab → · Contrast checker → · Palette generator →

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