#702BB8#702BB8

#702BB8 is a mid, highly saturated violet. Relative luminance 0.086; OKLCH L 46.7% C 0.205 H 300.7°. Best body text is #FFFFFF at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#702BB8
RGBrgb(112, 43, 184)
HSLhsl(269, 62%, 45%)
HSVhsv(269, 77%, 72%)
CMYKcmyk(39.1%, 76.6%, 0%, 27.8%)
CIE-LABlab(35.27, 56.21, -61.84)
CIE-LCHlch(35.27, 83.57, 312.27°)
OKLaboklab(46.74% 0.1049 -0.1766)
OKLCHoklch(46.74% 0.205 300.7)
XYZxyz(16.1956, 8.6331, 46.1512)
Luminance0.0863 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BB8 #73B82B
analogous
#2B2CB8 #702BB8 #B72BB8
triadic
#702BB8 #B8702B #2BB870
tetradic
#702BB8 #B82B2C #73B82B #2BB8B7
square
#702BB8 #B82B2C #73B82B #2BB8B7
split-complementary
#702BB8 #B8B72B #2CB82B
monochromatic
#341455 #521F86 #702BB8 #8F4BD5 #AE7DE1

Accessibility & contrast

On white

7.70
#702BB8 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.73
#702BB8 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BB8
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BB8#FFFFFF#000000##FFFFFF
##702BB81.007.702.737.70
#FFFFFF7.701.0021.001.00
#0000002.7321.001.0021.00
##FFFFFF7.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0052BC
Deuteranopia (green-blind)
#0052B5
Tritanopia (blue-blind)
#605070
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #702bb8;
/* rgb */ color: rgb(112, 43, 184);
/* oklch */ color: oklch(46.7% 0.205 300.7);
Tailwind
colors: {
  custom: {
    50: '#a06cce',
    500: '#702bb8',
    950: '#000000',
  },
}
SCSS
$custom: #702bb8;
$custom-light: #a06cce;
$custom-dark: #000000;
JSON
{
  "hex": "#702bb8",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 184
  },
  "hsl": {
    "h": 269.362,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.46742,
    "c": 0.20546,
    "h": 300.7
  },
  "luminance": 0.08633
}

Semantic roles & 50–950 ramp

primary
#702BB8
secondary
#A0C976
accent
#E54396
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702BB8

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

Preview Lab → · Contrast checker → · Palette generator →

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