#8262BF#8262BF

#8262BF is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.0% C 0.141 H 297.6°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#8262BF
RGBrgb(130, 98, 191)
HSLhsl(261, 42%, 57%)
HSVhsv(261, 49%, 75%)
CMYKcmyk(31.9%, 48.7%, 0%, 25.1%)
CIE-LABlab(48.56, 33.17, -44.41)
CIE-LCHlch(48.56, 55.43, 306.76°)
OKLaboklab(57.02% 0.0655 -0.125)
OKLCHoklch(57.02% 0.141 297.6)
XYZxyz(22.9753, 17.2425, 51.3978)
Luminance0.1724 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262BF #9FBF62
analogous
#6271BF #8262BF #B162BF
triadic
#8262BF #BF8262 #62BF82
tetradic
#8262BF #BF6271 #9FBF62 #62BFB1
square
#8262BF #BF6271 #9FBF62 #62BFB1
split-complementary
#8262BF #BFB162 #71BF62
monochromatic
#483076 #6342A2 #8262BF #A58DD1 #C7B9E2

Accessibility & contrast

On white

4.72
#8262BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#8262BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8262BF
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262BF#FFFFFF#000000##FFFFFF
##8262BF1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4374C2
Deuteranopia (green-blind)
#4A72BD
Tritanopia (blue-blind)
#757487
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #8262bf;
/* rgb */ color: rgb(130, 98, 191);
/* oklch */ color: oklch(57.0% 0.141 297.6);
Tailwind
colors: {
  custom: {
    50: '#a98fd3',
    500: '#8262bf',
    950: '#000000',
  },
}
SCSS
$custom: #8262bf;
$custom-light: #a98fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#8262bf",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 191
  },
  "hsl": {
    "h": 260.645,
    "s": 42.081,
    "l": 56.667
  },
  "oklch": {
    "l": 0.57016,
    "c": 0.14115,
    "h": 297.6
  },
  "luminance": 0.17243
}

Semantic roles & 50–950 ramp

primary
#8262BF
secondary
#C4D1AB
accent
#D256A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83

Preview Lab

Preview with #8262BF

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

Preview Lab → · Contrast checker → · Palette generator →

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