#8255F0#8255F0

#8255F0 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.220 H 291.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8255F0
RGBrgb(130, 85, 240)
HSLhsl(257, 84%, 64%)
HSVhsv(257, 65%, 94%)
CMYKcmyk(45.8%, 64.6%, 0%, 5.9%)
CIE-LABlab(48.92, 53.55, -71.72)
CIE-LCHlch(48.92, 89.51, 306.74°)
OKLaboklab(58.28% 0.0804 -0.2053)
OKLCHoklch(58.28% 0.22 291.4)
XYZxyz(28.1782, 17.5331, 84.3207)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255F0 #C3F055
analogous
#5575F0 #8255F0 #CF55F0
triadic
#8255F0 #F08255 #55F082
tetradic
#8255F0 #F05575 #C3F055 #55F0CF
square
#8255F0 #F05575 #C3F055 #55F0CF
split-complementary
#8255F0 #F0CF55 #75F055
monochromatic
#4210BA #591DEB #8255F0 #AB8DF5 #D5C5FA

Accessibility & contrast

On white

4.66
#8255F0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8255F0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8255F0
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255F0#FFFFFF#000000##FFFFFF
##8255F01.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#607A9B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8255f0;
/* rgb */ color: rgb(130, 85, 240);
/* oklch */ color: oklch(58.3% 0.220 291.4);
Tailwind
colors: {
  custom: {
    50: '#ae87f6',
    500: '#8255f0',
    950: '#000000',
  },
}
SCSS
$custom: #8255f0;
$custom-light: #ae87f6;
$custom-dark: #000000;
JSON
{
  "hex": "#8255f0",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 240
  },
  "hsl": {
    "h": 257.419,
    "s": 83.784,
    "l": 63.725
  },
  "oklch": {
    "l": 0.58282,
    "c": 0.22045,
    "h": 291.4
  },
  "luminance": 0.17534
}

Semantic roles & 50–950 ramp

primary
#8255F0
secondary
#DCECB5
accent
#E005A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8255F0

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

Preview Lab → · Contrast checker → · Palette generator →

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