#8270DB#8270DB

#8270DB is a mid, vivid violet. Relative luminance 0.214; OKLCH L 61.2% C 0.157 H 288.6°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#8270DB
RGBrgb(130, 112, 219)
HSLhsl(250, 60%, 65%)
HSVhsv(250, 49%, 86%)
CMYKcmyk(40.6%, 48.9%, 0%, 14.1%)
CIE-LABlab(53.44, 32.54, -52.63)
CIE-LCHlch(53.44, 61.88, 301.72°)
OKLaboklab(61.17% 0.0502 -0.1491)
OKLCHoklch(61.17% 0.157 288.6)
XYZxyz(27.7827, 21.4477, 69.6801)
Luminance0.2145 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8270DB #C9DB70
analogous
#7094DB #8270DB #B770DB
triadic
#8270DB #DB8270 #70DB82
tetradic
#8270DB #DB7094 #C9DB70 #70DBB7
square
#8270DB #DB7094 #C9DB70 #70DBB7
split-complementary
#8270DB #DBB770 #94DB70
monochromatic
#3F2AA7 #573FCF #8270DB #ADA1E7 #D7D2F4

Accessibility & contrast

On white

3.97
#8270DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#8270DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8270DB
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8270DB#FFFFFF#000000##000000
##8270DB1.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4582DF
Deuteranopia (green-blind)
#457DD9
Tritanopia (blue-blind)
#69869B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8270db;
/* rgb */ color: rgb(130, 112, 219);
/* oklch */ color: oklch(61.2% 0.157 288.6);
Tailwind
colors: {
  custom: {
    50: '#ab99e7',
    500: '#8270db',
    950: '#000000',
  },
}
SCSS
$custom: #8270db;
$custom-light: #ab99e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8270db",
  "rgb": {
    "r": 130,
    "g": 112,
    "b": 219
  },
  "hsl": {
    "h": 250.093,
    "s": 59.777,
    "l": 64.902
  },
  "oklch": {
    "l": 0.61171,
    "c": 0.15733,
    "h": 288.6
  },
  "luminance": 0.21449
}

Semantic roles & 50–950 ramp

primary
#8270DB
secondary
#E0E6C1
accent
#C71EAB
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100E16
muted
#7F7E84

Preview Lab

Preview with #8270DB

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

Preview Lab → · Contrast checker → · Palette generator →

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