#8A70F3#8A70F3

#8A70F3 is a light, vivid violet. Relative luminance 0.235; OKLCH L 63.4% C 0.189 H 289.0°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#8A70F3
RGBrgb(138, 112, 243)
HSLhsl(252, 85%, 70%)
HSVhsv(252, 54%, 95%)
CMYKcmyk(43.2%, 53.9%, 0%, 4.7%)
CIE-LABlab(55.54, 41.07, -62.66)
CIE-LCHlch(55.54, 74.92, 303.24°)
OKLaboklab(63.37% 0.0614 -0.1783)
OKLCHoklch(63.37% 0.189 289)
XYZxyz(32.4485, 23.4615, 87.5955)
Luminance0.2346 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A70F3 #D9F370
analogous
#7098F3 #8A70F3 #CB70F3
triadic
#8A70F3 #F38A70 #70F38A
tetradic
#8A70F3 #F37098 #D9F370 #70F3CB
square
#8A70F3 #F37098 #D9F370 #70F3CB
split-complementary
#8A70F3 #F3CB70 #98F370
monochromatic
#3912D7 #5C38EE #8A70F3 #B8A8F8 #E6E1FC

Accessibility & contrast

On white

3.69
#8A70F3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#8A70F3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A70F3
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A70F3#FFFFFF#000000##000000
##8A70F31.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C88F7
Deuteranopia (green-blind)
#2F82F0
Tritanopia (blue-blind)
#6B8CA7
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8a70f3;
/* rgb */ color: rgb(138, 112, 243);
/* oklch */ color: oklch(63.4% 0.189 289.0);
Tailwind
colors: {
  custom: {
    50: '#b29af8',
    500: '#8a70f3',
    950: '#000000',
  },
}
SCSS
$custom: #8a70f3;
$custom-light: #b29af8;
$custom-dark: #000000;
JSON
{
  "hex": "#8a70f3",
  "rgb": {
    "r": 138,
    "g": 112,
    "b": 243
  },
  "hsl": {
    "h": 251.908,
    "s": 84.516,
    "l": 69.608
  },
  "oklch": {
    "l": 0.63368,
    "c": 0.1886,
    "h": 289
  },
  "luminance": 0.23463
}

Semantic roles & 50–950 ramp

primary
#8A70F3
secondary
#EBF2CD
accent
#E105B5
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85

Preview Lab

Preview with #8A70F3

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

Preview Lab → · Contrast checker → · Palette generator →

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