#8255BC#8255BC

#8255BC is a mid, vivid violet. Relative luminance 0.149; OKLCH L 54.7% C 0.158 H 301.6°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8255BC
RGBrgb(130, 85, 188)
HSLhsl(266, 43%, 54%)
HSVhsv(266, 55%, 74%)
CMYKcmyk(30.9%, 54.8%, 0%, 26.3%)
CIE-LABlab(45.46, 39.87, -47.61)
CIE-LCHlch(45.46, 62.11, 309.94°)
OKLaboklab(54.66% 0.0826 -0.1344)
OKLCHoklch(54.66% 0.158 301.6)
XYZxyz(21.5294, 14.8736, 49.3039)
Luminance0.1487 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255BC #8FBC55
analogous
#555BBC #8255BC #B655BC
triadic
#8255BC #BC8255 #55BC82
tetradic
#8255BC #BC555B #8FBC55 #55BCB6
square
#8255BC #BC555B #8FBC55 #55BCB6
split-complementary
#8255BC #BCB655 #5BBC55
monochromatic
#472B6C #643C98 #8255BC #A281CD #C3ADDF

Accessibility & contrast

On white

5.28
#8255BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#8255BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255BC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255BC#FFFFFF#000000##FFFFFF
##8255BC1.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BBF
Deuteranopia (green-blind)
#3C6BBA
Tritanopia (blue-blind)
#776980
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #8255bc;
/* rgb */ color: rgb(130, 85, 188);
/* oklch */ color: oklch(54.7% 0.158 301.6);
Tailwind
colors: {
  custom: {
    50: '#a986d1',
    500: '#8255bc',
    950: '#000000',
  },
}
SCSS
$custom: #8255bc;
$custom-light: #a986d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8255bc",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 188
  },
  "hsl": {
    "h": 266.214,
    "s": 43.46,
    "l": 53.529
  },
  "oklch": {
    "l": 0.54655,
    "c": 0.15774,
    "h": 301.6
  },
  "luminance": 0.14874
}

Semantic roles & 50–950 ramp

primary
#8255BC
secondary
#B9CCA0
accent
#D3559C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82

Preview Lab

Preview with #8255BC

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

Preview Lab → · Contrast checker → · Palette generator →

#8255BC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva