#8274DB#8274DB

#8274DB is a mid, vivid blue. Relative luminance 0.224; OKLCH L 61.9% C 0.151 H 287.3°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#8274DB
RGBrgb(130, 116, 219)
HSLhsl(248, 59%, 66%)
HSVhsv(248, 47%, 86%)
CMYKcmyk(40.6%, 47%, 0%, 14.1%)
CIE-LABlab(54.40, 30.18, -51.10)
CIE-LCHlch(54.40, 59.35, 300.57°)
OKLaboklab(61.89% 0.0452 -0.1446)
OKLCHoklch(61.89% 0.152 287.3)
XYZxyz(28.2339, 22.3501, 69.8305)
Luminance0.2235 (WCAG relative)
Temperaturecool
Familyblue

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8274DB #CDDB74
analogous
#7499DB #8274DB #B574DB
triadic
#8274DB #DB8274 #74DB82
tetradic
#8274DB #DB7499 #CDDB74 #74DBB5
square
#8274DB #DB7499 #CDDB74 #74DBB5
split-complementary
#8274DB #DBB574 #99DB74
monochromatic
#3D2CA9 #5643CE #8274DB #AEA5E8 #D9D5F4

Accessibility & contrast

On white

3.84
#8274DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#8274DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8274DB
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8274DB#FFFFFF#000000##000000
##8274DB1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C85DF
Deuteranopia (green-blind)
#4B7FD9
Tritanopia (blue-blind)
#69899D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #8274db;
/* rgb */ color: rgb(130, 116, 219);
/* oklch */ color: oklch(61.9% 0.151 287.3);
Tailwind
colors: {
  custom: {
    50: '#aa9ce7',
    500: '#8274db',
    950: '#000000',
  },
}
SCSS
$custom: #8274db;
$custom-light: #aa9ce7;
$custom-dark: #000000;
JSON
{
  "hex": "#8274db",
  "rgb": {
    "r": 130,
    "g": 116,
    "b": 219
  },
  "hsl": {
    "h": 248.155,
    "s": 58.857,
    "l": 65.686
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.1515,
    "h": 287.3
  },
  "luminance": 0.22351
}

Semantic roles & 50–950 ramp

primary
#8274DB
secondary
#E2E7C4
accent
#C61FB0
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8274DB

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

Preview Lab → · Contrast checker → · Palette generator →

#8274DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva