#8254CF#8254CF

#8254CF is a mid, vivid violet. Relative luminance 0.156; OKLCH L 55.7% C 0.183 H 297.4°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#8254CF
RGBrgb(130, 84, 207)
HSLhsl(262, 56%, 57%)
HSVhsv(262, 59%, 81%)
CMYKcmyk(37.2%, 59.4%, 0%, 18.8%)
CIE-LABlab(46.43, 45.31, -57.04)
CIE-LCHlch(46.43, 72.84, 308.47°)
OKLaboklab(55.75% 0.0839 -0.1621)
OKLCHoklch(55.75% 0.183 297.4)
XYZxyz(23.6359, 15.5911, 60.7835)
Luminance0.1559 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8254CF #A1CF54
analogous
#5464CF #8254CF #BF54CF
triadic
#8254CF #CF8254 #54CF82
tetradic
#8254CF #CF5464 #A1CF54 #54CFBF
square
#8254CF #CF5464 #A1CF54 #54CFBF
split-complementary
#8254CF #CFBF54 #64CF54
monochromatic
#482584 #6332B3 #8254CF #A584DC #C8B4EA

Accessibility & contrast

On white

5.10
#8254CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#8254CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8254CF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8254CF#FFFFFF#000000##FFFFFF
##8254CF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ED3
Deuteranopia (green-blind)
#226DCC
Tritanopia (blue-blind)
#706E89
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8254cf;
/* rgb */ color: rgb(130, 84, 207);
/* oklch */ color: oklch(55.7% 0.183 297.4);
Tailwind
colors: {
  custom: {
    50: '#ab86de',
    500: '#8254cf',
    950: '#000000',
  },
}
SCSS
$custom: #8254cf;
$custom-light: #ab86de;
$custom-dark: #000000;
JSON
{
  "hex": "#8254cf",
  "rgb": {
    "r": 130,
    "g": 84,
    "b": 207
  },
  "hsl": {
    "h": 262.439,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.18251,
    "h": 297.4
  },
  "luminance": 0.15591
}

Semantic roles & 50–950 ramp

primary
#8254CF
secondary
#C6D8A6
accent
#DF48A7
background
#FAF8FD
surface
#F5EFFB
border
#CFCAD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8254CF

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

Preview Lab → · Contrast checker → · Palette generator →

#8254CF Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva