#8F35DB#8F35DB

#8F35DB is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.3% C 0.236 H 304.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).

Color values

HEX#8F35DB
RGBrgb(143, 53, 219)
HSLhsl(273, 70%, 53%)
HSVhsv(273, 76%, 86%)
CMYKcmyk(34.7%, 75.8%, 0%, 14.1%)
CIE-LABlab(43.51, 65.49, -68.58)
CIE-LCHlch(43.51, 94.83, 313.68°)
OKLaboklab(54.26% 0.1317 -0.1955)
OKLCHoklch(54.26% 0.236 304)
XYZxyz(25.3840, 13.5004, 68.2726)
Luminance0.1350 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F35DB #81DB35
analogous
#3C35DB #8F35DB #DB35D4
triadic
#8F35DB #DB8F35 #35DB8F
tetradic
#8F35DB #DB3C35 #81DB35 #35D4DB
square
#8F35DB #DB3C35 #81DB35 #35D4DB
split-complementary
#8F35DB #D4DB35 #35DB3C
monochromatic
#4F177F #7020B3 #8F35DB #AC69E4 #C99DEE

Accessibility & contrast

On white

5.68
#8F35DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.70
#8F35DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8F35DB
5.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F35DB#FFFFFF#000000##FFFFFF
##8F35DB1.005.683.705.68
#FFFFFF5.681.0021.001.00
#0000003.7021.001.0021.00
##FFFFFF5.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0065E0
Deuteranopia (green-blind)
#0067D8
Tritanopia (blue-blind)
#806087
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #8f35db;
/* rgb */ color: rgb(143, 53, 219);
/* oklch */ color: oklch(54.3% 0.236 304.0);
Tailwind
colors: {
  custom: {
    50: '#b676e7',
    500: '#8f35db',
    950: '#000000',
  },
}
SCSS
$custom: #8f35db;
$custom-light: #b676e7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f35db",
  "rgb": {
    "r": 143,
    "g": 53,
    "b": 219
  },
  "hsl": {
    "h": 272.53,
    "s": 69.748,
    "l": 53.333
  },
  "oklch": {
    "l": 0.54262,
    "c": 0.23567,
    "h": 304
  },
  "luminance": 0.135
}

Semantic roles & 50–950 ramp

primary
#8F35DB
secondary
#B3DA92
accent
#ED3B8C
background
#FBF7FE
surface
#F7EDFD
border
#D0C8D5
text
#120916
muted
#817B84

Preview Lab

Preview with #8F35DB

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

Preview Lab → · Contrast checker → · Palette generator →

#8F35DB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva