#8262BD#8262BD

#8262BD is a mid, vivid violet. Relative luminance 0.172; OKLCH L 56.9% C 0.139 H 298.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#8262BD
RGBrgb(130, 98, 189)
HSLhsl(261, 41%, 56%)
HSVhsv(261, 48%, 74%)
CMYKcmyk(31.2%, 48.1%, 0%, 25.9%)
CIE-LABlab(48.45, 32.65, -43.42)
CIE-LCHlch(48.45, 54.33, 306.94°)
OKLaboklab(56.9% 0.0652 -0.1222)
OKLCHoklch(56.9% 0.139 298.1)
XYZxyz(22.7567, 17.1551, 50.2466)
Luminance0.1716 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262BD #9DBD62
analogous
#6270BD #8262BD #B062BD
triadic
#8262BD #BD8262 #62BD82
tetradic
#8262BD #BD6270 #9DBD62 #62BDB0
square
#8262BD #BD6270 #9DBD62 #62BDB0
split-complementary
#8262BD #BDB062 #70BD62
monochromatic
#483174 #63439F #8262BD #A48DCF #C7B8E1

Accessibility & contrast

On white

4.74
#8262BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#8262BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8262BD
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262BD#FFFFFF#000000##FFFFFF
##8262BD1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4473C0
Deuteranopia (green-blind)
#4B72BB
Tritanopia (blue-blind)
#767386
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8262bd;
/* rgb */ color: rgb(130, 98, 189);
/* oklch */ color: oklch(56.9% 0.139 298.1);
Tailwind
colors: {
  custom: {
    50: '#a98fd1',
    500: '#8262bd',
    950: '#000000',
  },
}
SCSS
$custom: #8262bd;
$custom-light: #a98fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#8262bd",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 189
  },
  "hsl": {
    "h": 261.099,
    "s": 40.807,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56898,
    "c": 0.1385,
    "h": 298.1
  },
  "luminance": 0.17155
}

Semantic roles & 50–950 ramp

primary
#8262BD
secondary
#C3D0AB
accent
#D157A6
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C14
muted
#7F7D82

Preview Lab

Preview with #8262BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8262BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva