#8257F2#8257F2

#8257F2 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.220 H 290.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8257F2
RGBrgb(130, 87, 242)
HSLhsl(257, 86%, 65%)
HSVhsv(257, 64%, 95%)
CMYKcmyk(46.3%, 64%, 0%, 5.1%)
CIE-LABlab(49.46, 53.03, -71.97)
CIE-LCHlch(49.46, 89.40, 306.38°)
OKLaboklab(58.72% 0.0782 -0.206)
OKLCHoklch(58.72% 0.22 290.8)
XYZxyz(28.6366, 17.9720, 85.9473)
Luminance0.1797 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8257F2 #C7F257
analogous
#577AF2 #8257F2 #CF57F2
triadic
#8257F2 #F28257 #57F282
tetradic
#8257F2 #F2577A #C7F257 #57F2CF
square
#8257F2 #F2577A #C7F257 #57F2CF
split-complementary
#8257F2 #F2CF57 #7AF257
monochromatic
#400FC0 #581EEE #8257F2 #AC90F6 #D7C9FB

Accessibility & contrast

On white

4.57
#8257F2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8257F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8257F2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8257F2#FFFFFF#000000##000000
##8257F21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F7
Deuteranopia (green-blind)
#0072EF
Tritanopia (blue-blind)
#5F7C9D
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8257f2;
/* rgb */ color: rgb(130, 87, 242);
/* oklch */ color: oklch(58.7% 0.220 290.8);
Tailwind
colors: {
  custom: {
    50: '#ae89f7',
    500: '#8257f2',
    950: '#000000',
  },
}
SCSS
$custom: #8257f2;
$custom-light: #ae89f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8257f2",
  "rgb": {
    "r": 130,
    "g": 87,
    "b": 242
  },
  "hsl": {
    "h": 256.645,
    "s": 85.635,
    "l": 64.51
  },
  "oklch": {
    "l": 0.58716,
    "c": 0.22034,
    "h": 290.8
  },
  "luminance": 0.17973
}

Semantic roles & 50–950 ramp

primary
#8257F2
secondary
#DEEDB8
accent
#E203A4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85

Preview Lab

Preview with #8257F2

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

Preview Lab → · Contrast checker → · Palette generator →

#8257F2 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva