#8255F8#8255F8

#8255F8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.230 H 290.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8255F8
RGBrgb(130, 85, 248)
HSLhsl(257, 92%, 65%)
HSVhsv(257, 66%, 97%)
CMYKcmyk(47.6%, 65.7%, 0%, 2.7%)
CIE-LABlab(49.52, 55.71, -75.23)
CIE-LCHlch(49.52, 93.61, 306.52°)
OKLaboklab(58.9% 0.0794 -0.2156)
OKLCHoklch(58.9% 0.23 290.2)
XYZxyz(29.3929, 18.0190, 90.7180)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8255F8 #CBF855
analogous
#557AF8 #8255F8 #D355F8
triadic
#8255F8 #F88255 #55F882
tetradic
#8255F8 #F8557A #CBF855 #55F8D3
square
#8255F8 #F8557A #CBF855 #55F8D3
split-complementary
#8255F8 #F8D355 #7AF855
monochromatic
#3E08CA #571AF6 #8255F8 #AD90FA #D8CBFD

Accessibility & contrast

On white

4.56
#8255F8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8255F8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8255F8
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8255F8#FFFFFF#000000##000000
##8255F81.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079FD
Deuteranopia (green-blind)
#0072F5
Tritanopia (blue-blind)
#5B7DA0
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8255f8;
/* rgb */ color: rgb(130, 85, 248);
/* oklch */ color: oklch(58.9% 0.230 290.2);
Tailwind
colors: {
  custom: {
    50: '#af88fc',
    500: '#8255f8',
    950: '#000000',
  },
}
SCSS
$custom: #8255f8;
$custom-light: #af88fc;
$custom-dark: #000000;
JSON
{
  "hex": "#8255f8",
  "rgb": {
    "r": 130,
    "g": 85,
    "b": 248
  },
  "hsl": {
    "h": 256.564,
    "s": 92.09,
    "l": 65.294
  },
  "oklch": {
    "l": 0.58896,
    "c": 0.22974,
    "h": 290.2
  },
  "luminance": 0.1802
}

Semantic roles & 50–950 ramp

primary
#8255F8
secondary
#E1F0B9
accent
#E600A6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B18
muted
#807C86

Preview Lab

Preview with #8255F8

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

Preview Lab → · Contrast checker → · Palette generator →

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