#702BBB#702BBB

#702BBB is a mid, highly saturated violet. Relative luminance 0.088; OKLCH L 47.0% C 0.209 H 300.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#702BBB
RGBrgb(112, 43, 187)
HSLhsl(269, 63%, 45%)
HSVhsv(269, 77%, 73%)
CMYKcmyk(40.1%, 77%, 0%, 26.7%)
CIE-LABlab(35.52, 56.94, -63.20)
CIE-LCHlch(35.52, 85.07, 312.01°)
OKLaboklab(47% 0.1042 -0.1806)
OKLCHoklch(47% 0.209 300)
XYZxyz(16.5134, 8.7602, 47.8250)
Luminance0.0876 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BBB #76BB2B
analogous
#2B2EBB #702BBB #B82BBB
triadic
#702BBB #BB702B #2BBB70
tetradic
#702BBB #BB2B2E #76BB2B #2BBBB8
square
#702BBB #BB2B2E #76BB2B #2BBBB8
split-complementary
#702BBB #BBB82B #2EBB2B
monochromatic
#341457 #522089 #702BBB #8F4DD6 #AE7FE2

Accessibility & contrast

On white

7.63
#702BBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#702BBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702BBB
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BBB#FFFFFF#000000##FFFFFF
##702BBB1.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702bbb;
/* rgb */ color: rgb(112, 43, 187);
/* oklch */ color: oklch(47.0% 0.209 300.0);
Tailwind
colors: {
  custom: {
    50: '#a06cd0',
    500: '#702bbb',
    950: '#000000',
  },
}
SCSS
$custom: #702bbb;
$custom-light: #a06cd0;
$custom-dark: #000000;
JSON
{
  "hex": "#702bbb",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 187
  },
  "hsl": {
    "h": 268.75,
    "s": 62.609,
    "l": 45.098
  },
  "oklch": {
    "l": 0.46995,
    "c": 0.20852,
    "h": 300
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#702BBB
secondary
#A3CA78
accent
#E64297
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#100714
muted
#7F7A82

Preview Lab

Preview with #702BBB

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

Preview Lab → · Contrast checker → · Palette generator →

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