#8368F3#8368F3

#8368F3 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.5% C 0.200 H 288.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#8368F3
RGBrgb(131, 104, 243)
HSLhsl(252, 85%, 68%)
HSVhsv(252, 57%, 95%)
CMYKcmyk(46.1%, 57.2%, 0%, 4.7%)
CIE-LABlab(53.16, 44.13, -66.53)
CIE-LCHlch(53.16, 79.84, 303.56°)
OKLaboklab(61.46% 0.0617 -0.1899)
OKLCHoklch(61.46% 0.2 288)
XYZxyz(30.4834, 21.1957, 87.2617)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8368F3 #D8F368
analogous
#6892F3 #8368F3 #C968F3
triadic
#8368F3 #F38368 #68F383
tetradic
#8368F3 #F36892 #D8F368 #68F3C9
square
#8368F3 #F36892 #D8F368 #68F3C9
split-complementary
#8368F3 #F3C968 #92F368
monochromatic
#3611D0 #542FEE #8368F3 #B2A1F8 #E0D9FC

Accessibility & contrast

On white

4.01
#8368F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#8368F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8368F3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8368F3#FFFFFF#000000##000000
##8368F31.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0082F8
Deuteranopia (green-blind)
#007BF0
Tritanopia (blue-blind)
#5F87A4
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8368f3;
/* rgb */ color: rgb(131, 104, 243);
/* oklch */ color: oklch(61.5% 0.200 288.0);
Tailwind
colors: {
  custom: {
    50: '#ae94f8',
    500: '#8368f3',
    950: '#000000',
  },
}
SCSS
$custom: #8368f3;
$custom-light: #ae94f8;
$custom-dark: #000000;
JSON
{
  "hex": "#8368f3",
  "rgb": {
    "r": 131,
    "g": 104,
    "b": 243
  },
  "hsl": {
    "h": 251.655,
    "s": 85.276,
    "l": 68.039
  },
  "oklch": {
    "l": 0.6146,
    "c": 0.1997,
    "h": 288
  },
  "luminance": 0.21197
}

Semantic roles & 50–950 ramp

primary
#8368F3
secondary
#E8F1C6
accent
#E204B7
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#110D17
muted
#807E85

Preview Lab

Preview with #8368F3

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

Preview Lab → · Contrast checker → · Palette generator →

#8368F3 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva