#702BA8#702BA8

#702BA8 is a mid, vivid violet. Relative luminance 0.080; OKLCH L 45.4% C 0.189 H 305.0°. Best body text is #FFFFFF at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#702BA8
RGBrgb(112, 43, 168)
HSLhsl(273, 59%, 41%)
HSVhsv(273, 74%, 66%)
CMYKcmyk(33.3%, 74.4%, 0%, 34.1%)
CIE-LABlab(33.98, 52.41, -54.40)
CIE-LCHlch(33.98, 75.54, 313.93°)
OKLaboklab(45.44% 0.1086 -0.1548)
OKLCHoklch(45.44% 0.189 305)
XYZxyz(14.6123, 7.9997, 37.8125)
Luminance0.0800 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BA8 #63A82B
analogous
#322BA8 #702BA8 #A82BA2
triadic
#702BA8 #A8702B #2BA870
tetradic
#702BA8 #A8322B #63A82B #2BA2A8
square
#702BA8 #A8322B #63A82B #2BA2A8
split-complementary
#702BA8 #A2A82B #2BA832
monochromatic
#2F1247 #501F77 #702BA8 #8F42CF #AC72DB

Accessibility & contrast

On white

8.08
#702BA8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.60
#702BA8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BA8
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BA8#FFFFFF#000000##FFFFFF
##702BA81.008.082.608.08
#FFFFFF8.081.0021.001.00
#0000002.6021.001.0021.00
##FFFFFF8.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#004EAC
Deuteranopia (green-blind)
#0050A5
Tritanopia (blue-blind)
#664A67
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #702ba8;
/* rgb */ color: rgb(112, 43, 168);
/* oklch */ color: oklch(45.4% 0.189 305.0);
Tailwind
colors: {
  custom: {
    50: '#9e6bc3',
    500: '#702ba8',
    950: '#000000',
  },
}
SCSS
$custom: #702ba8;
$custom-light: #9e6bc3;
$custom-dark: #000000;
JSON
{
  "hex": "#702ba8",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 168
  },
  "hsl": {
    "h": 273.12,
    "s": 59.242,
    "l": 41.373
  },
  "oklch": {
    "l": 0.45437,
    "c": 0.18907,
    "h": 305
  },
  "luminance": 0.08
}

Semantic roles & 50–950 ramp

primary
#702BA8
secondary
#93C26C
accent
#E2458C
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#0F0713
muted
#7F7A82

Preview Lab

Preview with #702BA8

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

Preview Lab → · Contrast checker → · Palette generator →

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