#8F70F2#8F70F2

#8F70F2 is a light, vivid violet. Relative luminance 0.238; OKLCH L 63.7% C 0.187 H 291.1°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F70F2
RGBrgb(143, 112, 242)
HSLhsl(254, 83%, 69%)
HSVhsv(254, 54%, 95%)
CMYKcmyk(40.9%, 53.7%, 0%, 5.1%)
CIE-LABlab(55.92, 41.91, -61.47)
CIE-LCHlch(55.92, 74.40, 304.29°)
OKLaboklab(63.74% 0.0675 -0.1747)
OKLCHoklch(63.74% 0.187 291.1)
XYZxyz(33.1445, 23.8378, 86.8420)
Luminance0.2384 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F70F2 #D3F270
analogous
#7092F2 #8F70F2 #D070F2
triadic
#8F70F2 #F28F70 #70F28F
tetradic
#8F70F2 #F27092 #D3F270 #70F2D0
square
#8F70F2 #F27092 #D3F270 #70F2D0
split-complementary
#8F70F2 #F2D070 #92F270
monochromatic
#4113D4 #6338ED #8F70F2 #BBA8F7 #E7E0FC

Accessibility & contrast

On white

3.64
#8F70F2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8F70F2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F70F2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F70F2#FFFFFF#000000##000000
##8F70F21.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3188F6
Deuteranopia (green-blind)
#3783EF
Tritanopia (blue-blind)
#748CA6
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f70f2;
/* rgb */ color: rgb(143, 112, 242);
/* oklch */ color: oklch(63.7% 0.187 291.1);
Tailwind
colors: {
  custom: {
    50: '#b59af7',
    500: '#8f70f2',
    950: '#000000',
  },
}
SCSS
$custom: #8f70f2;
$custom-light: #b59af7;
$custom-dark: #000000;
JSON
{
  "hex": "#8f70f2",
  "rgb": {
    "r": 143,
    "g": 112,
    "b": 242
  },
  "hsl": {
    "h": 254.308,
    "s": 83.333,
    "l": 69.412
  },
  "oklch": {
    "l": 0.63736,
    "c": 0.18728,
    "h": 291.1
  },
  "luminance": 0.23839
}

Semantic roles & 50–950 ramp

primary
#8F70F2
secondary
#E9F2CC
accent
#E006AC
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#120E17
muted
#817E85

Preview Lab

Preview with #8F70F2

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

Preview Lab → · Contrast checker → · Palette generator →

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