#8255F1#8255F1

#8255F1 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.222 H 291.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8255F1
RGBrgb(130, 85, 241)
HSLhsl(257, 85%, 64%)
HSVhsv(257, 65%, 95%)
CMYKcmyk(46.1%, 64.7%, 0%, 5.5%)
CIE-LABlab(49.00, 53.82, -72.16)
CIE-LCHlch(49.00, 90.02, 306.71°)
OKLaboklab(58.36% 0.0803 -0.2066)
OKLCHoklch(58.36% 0.222 291.2)
XYZxyz(28.3271, 17.5927, 85.1052)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255F1 #C4F155
analogous
#5576F1 #8255F1 #D055F1
triadic
#8255F1 #F18255 #55F182
tetradic
#8255F1 #F15576 #C4F155 #55F1D0
square
#8255F1 #F15576 #C4F155 #55F1D0
split-complementary
#8255F1 #F1D055 #76F155
monochromatic
#410FBC #581CEC #8255F1 #AC8EF6 #D5C6FA

Accessibility & contrast

On white

4.65
#8255F1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#8255F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8255F1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255F1#FFFFFF#000000##FFFFFF
##8255F11.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#0071EE
Tritanopia (blue-blind)
#607B9C
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8255f1;
/* rgb */ color: rgb(130, 85, 241);
/* oklch */ color: oklch(58.4% 0.222 291.2);
Tailwind
colors: {
  custom: {
    50: '#ae87f7',
    500: '#8255f1',
    950: '#000000',
  },
}
SCSS
$custom: #8255f1;
$custom-light: #ae87f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8255f1",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 241
  },
  "hsl": {
    "h": 257.308,
    "s": 84.783,
    "l": 63.922
  },
  "oklch": {
    "l": 0.58358,
    "c": 0.22161,
    "h": 291.2
  },
  "luminance": 0.17594
}

Semantic roles & 50–950 ramp

primary
#8255F1
secondary
#DCECB6
accent
#E104A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85

Preview Lab

Preview with #8255F1

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

Preview Lab → · Contrast checker → · Palette generator →

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