#8255B2#8255B2

#8255B2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.0% C 0.145 H 304.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#8255B2
RGBrgb(130, 85, 178)
HSLhsl(269, 38%, 52%)
HSVhsv(269, 52%, 70%)
CMYKcmyk(27%, 52.2%, 0%, 30.2%)
CIE-LABlab(44.88, 37.38, -42.70)
CIE-LCHlch(44.88, 56.74, 311.20°)
OKLaboklab(54.04% 0.0819 -0.12)
OKLCHoklch(54.04% 0.145 304.3)
XYZxyz(20.4886, 14.4573, 43.8220)
Luminance0.1446 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255B2 #85B255
analogous
#5557B2 #8255B2 #B155B2
triadic
#8255B2 #B28255 #55B282
tetradic
#8255B2 #B25557 #85B255 #55B2B1
square
#8255B2 #B25557 #85B255 #55B2B1
split-complementary
#8255B2 #B2B155 #57B255
monochromatic
#452C61 #643F8B #8255B2 #A17FC5 #C0A9D8

Accessibility & contrast

On white

5.40
#8255B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#8255B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255B2
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255B2#FFFFFF#000000##FFFFFF
##8255B21.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#7A667B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #8255b2;
/* rgb */ color: rgb(130, 85, 178);
/* oklch */ color: oklch(54.0% 0.145 304.3);
Tailwind
colors: {
  custom: {
    50: '#a986c9',
    500: '#8255b2',
    950: '#000000',
  },
}
SCSS
$custom: #8255b2;
$custom-light: #a986c9;
$custom-dark: #000000;
JSON
{
  "hex": "#8255b2",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 178
  },
  "hsl": {
    "h": 269.032,
    "s": 37.652,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5404,
    "c": 0.14532,
    "h": 304.3
  },
  "luminance": 0.14457
}

Semantic roles & 50–950 ramp

primary
#8255B2
secondary
#B2C69D
accent
#CE5A96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8255B2

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

Preview Lab → · Contrast checker → · Palette generator →

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