#8255CE#8255CE

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

Color values

HEX#8255CE
RGBrgb(130, 85, 206)
HSLhsl(262, 55%, 57%)
HSVhsv(262, 59%, 81%)
CMYKcmyk(36.9%, 58.7%, 0%, 19.2%)
CIE-LABlab(46.58, 44.50, -56.23)
CIE-LCHlch(46.58, 71.71, 308.36°)
OKLaboklab(55.83% 0.0827 -0.1597)
OKLCHoklch(55.83% 0.18 297.4)
XYZxyz(23.5922, 15.6987, 60.1677)
Luminance0.1570 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255CE #A1CE55
analogous
#5565CE #8255CE #BF55CE
triadic
#8255CE #CE8255 #55CE82
tetradic
#8255CE #CE5565 #A1CE55 #55CEBF
square
#8255CE #CE5565 #A1CE55 #55CEBF
split-complementary
#8255CE #CEBF55 #65CE55
monochromatic
#482683 #6333B2 #8255CE #A585DC #C8B4E9

Accessibility & contrast

On white

5.07
#8255CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8255CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8255CE
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255CE#FFFFFF#000000##FFFFFF
##8255CE1.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)
#0A6FD2
Deuteranopia (green-blind)
#266DCB
Tritanopia (blue-blind)
#706F89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8255ce;
/* rgb */ color: rgb(130, 85, 206);
/* oklch */ color: oklch(55.8% 0.180 297.4);
Tailwind
colors: {
  custom: {
    50: '#ab87de',
    500: '#8255ce',
    950: '#000000',
  },
}
SCSS
$custom: #8255ce;
$custom-light: #ab87de;
$custom-dark: #000000;
JSON
{
  "hex": "#8255ce",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 206
  },
  "hsl": {
    "h": 262.314,
    "s": 55.251,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55833,
    "c": 0.17987,
    "h": 297.4
  },
  "luminance": 0.15699
}

Semantic roles & 50–950 ramp

primary
#8255CE
secondary
#C6D8A7
accent
#DF49A7
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#100B15
muted
#7F7C83

Preview Lab

Preview with #8255CE

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

Preview Lab → · Contrast checker → · Palette generator →

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