#8262CB#8262CB

#8262CB is a mid, vivid violet. Relative luminance 0.178; OKLCH L 57.7% C 0.157 H 295.1°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8262CB
RGBrgb(130, 98, 203)
HSLhsl(258, 50%, 59%)
HSVhsv(258, 52%, 80%)
CMYKcmyk(36%, 51.7%, 0%, 20.4%)
CIE-LABlab(49.24, 36.34, -50.23)
CIE-LCHlch(49.24, 62.00, 305.88°)
OKLaboklab(57.74% 0.0665 -0.1421)
OKLCHoklch(57.74% 0.157 295.1)
XYZxyz(24.3503, 17.7925, 58.6397)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8262CB #ABCB62
analogous
#6277CB #8262CB #B762CB
triadic
#8262CB #CB8262 #62CB82
tetradic
#8262CB #CB6277 #ABCB62 #62CBB7
square
#8262CB #CB6277 #ABCB62 #62CBB7
split-complementary
#8262CB #CBB762 #77CB62
monochromatic
#482C86 #603CB4 #8262CB #A790DA #CBBEE9

Accessibility & contrast

On white

4.61
#8262CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8262CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8262CB
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8262CB#FFFFFF#000000##FFFFFF
##8262CB1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3876CF
Deuteranopia (green-blind)
#4073C9
Tritanopia (blue-blind)
#71778D
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8262cb;
/* rgb */ color: rgb(130, 98, 203);
/* oklch */ color: oklch(57.7% 0.157 295.1);
Tailwind
colors: {
  custom: {
    50: '#aa8fdb',
    500: '#8262cb',
    950: '#000000',
  },
}
SCSS
$custom: #8262cb;
$custom-light: #aa8fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#8262cb",
  "rgb": {
    "r": 130,
    "g": 98,
    "b": 203
  },
  "hsl": {
    "h": 258.286,
    "s": 50.239,
    "l": 59.02
  },
  "oklch": {
    "l": 0.57742,
    "c": 0.1569,
    "h": 295.1
  },
  "luminance": 0.17793
}

Semantic roles & 50–950 ramp

primary
#8262CB
secondary
#CCD9B0
accent
#DA4EAF
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83

Preview Lab

Preview with #8262CB

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

Preview Lab → · Contrast checker → · Palette generator →

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