#8256CB#8256CB

#8256CB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.175 H 297.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8256CB
RGBrgb(130, 86, 203)
HSLhsl(263, 53%, 57%)
HSVhsv(263, 58%, 80%)
CMYKcmyk(36%, 57.6%, 0%, 20.4%)
CIE-LABlab(46.60, 43.17, -54.48)
CIE-LCHlch(46.60, 69.50, 308.39°)
OKLaboklab(55.79% 0.0816 -0.1546)
OKLCHoklch(55.79% 0.175 297.8)
XYZxyz(23.3105, 15.7129, 58.2931)
Luminance0.1571 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8256CB #9FCB56
analogous
#5665CB #8256CB #BD56CB
triadic
#8256CB #CB8256 #56CB82
tetradic
#8256CB #CB5665 #9FCB56 #56CBBD
square
#8256CB #CB5665 #9FCB56 #56CBBD
split-complementary
#8256CB #CBBD56 #65CB56
monochromatic
#48277F #6336AE #8256CB #A585D9 #C7B4E8

Accessibility & contrast

On white

5.07
#8256CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8256CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8256CB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8256CB#FFFFFF#000000##FFFFFF
##8256CB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#716E88
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8256cb;
/* rgb */ color: rgb(130, 86, 203);
/* oklch */ color: oklch(55.8% 0.175 297.8);
Tailwind
colors: {
  custom: {
    50: '#ab87db',
    500: '#8256cb',
    950: '#000000',
  },
}
SCSS
$custom: #8256cb;
$custom-light: #ab87db;
$custom-dark: #000000;
JSON
{
  "hex": "#8256cb",
  "rgb": {
    "r": 130,
    "g": 86,
    "b": 203
  },
  "hsl": {
    "h": 262.564,
    "s": 52.941,
    "l": 56.667
  },
  "oklch": {
    "l": 0.55786,
    "c": 0.17476,
    "h": 297.8
  },
  "luminance": 0.15713
}

Semantic roles & 50–950 ramp

primary
#8256CB
secondary
#C4D6A6
accent
#DC4BA6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8256CB

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

Preview Lab → · Contrast checker → · Palette generator →

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