#702EBB#702EBB

#702EBB is a mid, highly saturated violet. Relative luminance 0.090; OKLCH L 47.3% C 0.205 H 299.6°. Best body text is #FFFFFF at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#702EBB
RGBrgb(112, 46, 187)
HSLhsl(268, 61%, 46%)
HSVhsv(268, 75%, 73%)
CMYKcmyk(40.1%, 75.4%, 0%, 26.7%)
CIE-LABlab(35.96, 55.68, -62.49)
CIE-LCHlch(35.96, 83.69, 311.70°)
OKLaboklab(47.3% 0.1016 -0.1786)
OKLCHoklch(47.3% 0.205 299.6)
XYZxyz(16.6265, 8.9864, 47.8627)
Luminance0.0899 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EBB #79BB2E
analogous
#2E32BB #702EBB #B62EBB
triadic
#702EBB #BB702E #2EBB70
tetradic
#702EBB #BB2E32 #79BB2E #2EBBB6
square
#702EBB #BB2E32 #79BB2E #2EBBB6
split-complementary
#702EBB #BBB62E #32BB2E
monochromatic
#351659 #53228A #702EBB #8F52D4 #AF83E0

Accessibility & contrast

On white

7.51
#702EBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#702EBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EBB
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EBB#FFFFFF#000000##FFFFFF
##702EBB1.007.512.807.51
#FFFFFF7.511.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BF
Deuteranopia (green-blind)
#0053B8
Tritanopia (blue-blind)
#5E5373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #702ebb;
/* rgb */ color: rgb(112, 46, 187);
/* oklch */ color: oklch(47.3% 0.205 299.6);
Tailwind
colors: {
  custom: {
    50: '#a06ed0',
    500: '#702ebb',
    950: '#000000',
  },
}
SCSS
$custom: #702ebb;
$custom-light: #a06ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#702ebb",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 187
  },
  "hsl": {
    "h": 268.085,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47303,
    "c": 0.20545,
    "h": 299.6
  },
  "luminance": 0.08987
}

Semantic roles & 50–950 ramp

primary
#702EBB
secondary
#A5CA7B
accent
#E44499
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #702EBB

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

Preview Lab → · Contrast checker → · Palette generator →

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