#702ABB#702ABB

#702ABB is a mid, highly saturated violet. Relative luminance 0.087; OKLCH L 46.9% C 0.210 H 300.1°. Best body text is #FFFFFF at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#702ABB
RGBrgb(112, 42, 187)
HSLhsl(269, 63%, 45%)
HSVhsv(269, 78%, 73%)
CMYKcmyk(40.1%, 77.5%, 0%, 26.7%)
CIE-LABlab(35.38, 57.34, -63.44)
CIE-LCHlch(35.38, 85.51, 312.11°)
OKLaboklab(46.9% 0.105 -0.1813)
OKLCHoklch(46.9% 0.21 300.1)
XYZxyz(16.4774, 8.6884, 47.8130)
Luminance0.0869 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702ABB #75BB2A
analogous
#2A2CBB #702ABB #B92ABB
triadic
#702ABB #BB702A #2ABB70
tetradic
#702ABB #BB2A2C #75BB2A #2ABBB9
square
#702ABB #BB2A2C #75BB2A #2ABBB9
split-complementary
#702ABB #BBB92A #2CBB2A
monochromatic
#341457 #521F89 #702ABB #8F4CD7 #AE7DE2

Accessibility & contrast

On white

7.67
#702ABB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.74
#702ABB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702ABB
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702ABB#FFFFFF#000000##FFFFFF
##702ABB1.007.672.747.67
#FFFFFF7.671.0021.001.00
#0000002.7421.001.0021.00
##FFFFFF7.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053BF
Deuteranopia (green-blind)
#0052B8
Tritanopia (blue-blind)
#5E5172
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702abb;
/* rgb */ color: rgb(112, 42, 187);
/* oklch */ color: oklch(46.9% 0.210 300.1);
Tailwind
colors: {
  custom: {
    50: '#a06cd1',
    500: '#702abb',
    950: '#000000',
  },
}
SCSS
$custom: #702abb;
$custom-light: #a06cd1;
$custom-dark: #000000;
JSON
{
  "hex": "#702abb",
  "rgb": {
    "r": 112,
    "g": 42,
    "b": 187
  },
  "hsl": {
    "h": 268.966,
    "s": 63.319,
    "l": 44.902
  },
  "oklch": {
    "l": 0.46896,
    "c": 0.20951,
    "h": 300.1
  },
  "luminance": 0.08689
}

Semantic roles & 50–950 ramp

primary
#702ABB
secondary
#A2CA76
accent
#E64197
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #702ABB

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

Preview Lab → · Contrast checker → · Palette generator →

#702ABB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva