#8259B2#8259B2

#8259B2 is a mid, vivid violet. Relative luminance 0.151; OKLCH L 54.7% C 0.139 H 303.4°. Best body text is #FFFFFF at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#8259B2
RGBrgb(130, 89, 178)
HSLhsl(268, 37%, 52%)
HSVhsv(268, 50%, 70%)
CMYKcmyk(27%, 50%, 0%, 30.2%)
CIE-LABlab(45.78, 35.09, -41.27)
CIE-LCHlch(45.78, 54.17, 310.37°)
OKLaboklab(54.71% 0.0764 -0.1159)
OKLCHoklch(54.71% 0.139 303.4)
XYZxyz(20.8124, 15.1050, 43.9300)
Luminance0.1510 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8259B2 #89B259
analogous
#595DB2 #8259B2 #AE59B2
triadic
#8259B2 #B28259 #59B282
tetradic
#8259B2 #B2595D #89B259 #59B2AE
square
#8259B2 #B2595D #89B259 #59B2AE
split-complementary
#8259B2 #B2AE59 #5DB259
monochromatic
#462E63 #64418D #8259B2 #A183C5 #C1ADD9

Accessibility & contrast

On white

5.22
#8259B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.02
#8259B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8259B2
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8259B2#FFFFFF#000000##FFFFFF
##8259B21.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E6BB5
Deuteranopia (green-blind)
#496CB0
Tritanopia (blue-blind)
#7A697D
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8259b2;
/* rgb */ color: rgb(130, 89, 178);
/* oklch */ color: oklch(54.7% 0.139 303.4);
Tailwind
colors: {
  custom: {
    50: '#a989c9',
    500: '#8259b2',
    950: '#000000',
  },
}
SCSS
$custom: #8259b2;
$custom-light: #a989c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8259b2",
  "rgb": {
    "r": 130,
    "g": 89,
    "b": 178
  },
  "hsl": {
    "h": 267.64,
    "s": 36.626,
    "l": 52.353
  },
  "oklch": {
    "l": 0.54705,
    "c": 0.13881,
    "h": 303.4
  },
  "luminance": 0.15105
}

Semantic roles & 50–950 ramp

primary
#8259B2
secondary
#B5C7A0
accent
#CD5B98
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8259B2

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

Preview Lab → · Contrast checker → · Palette generator →

#8259B2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva