#702EBA#702EBA

#702EBA is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.2% C 0.204 H 299.9°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#702EBA
RGBrgb(112, 46, 186)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 73%)
CMYKcmyk(39.8%, 75.3%, 0%, 27.1%)
CIE-LABlab(35.88, 55.43, -62.03)
CIE-LCHlch(35.88, 83.19, 311.78°)
OKLaboklab(47.22% 0.1018 -0.1772)
OKLCHoklch(47.22% 0.204 299.9)
XYZxyz(16.5198, 8.9437, 47.3008)
Luminance0.0894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EBA #78BA2E
analogous
#2E32BA #702EBA #B62EBA
triadic
#702EBA #BA702E #2EBA70
tetradic
#702EBA #BA2E32 #78BA2E #2EBAB6
square
#702EBA #BA2E32 #78BA2E #2EBAB6
split-complementary
#702EBA #BAB62E #32BA2E
monochromatic
#351658 #522289 #702EBA #8F51D4 #AF82E0

Accessibility & contrast

On white

7.53
#702EBA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#702EBA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EBA
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EBA#FFFFFF#000000##FFFFFF
##702EBA1.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054BE
Deuteranopia (green-blind)
#0053B7
Tritanopia (blue-blind)
#5F5272
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702eba;
/* rgb */ color: rgb(112, 46, 186);
/* oklch */ color: oklch(47.2% 0.204 299.9);
Tailwind
colors: {
  custom: {
    50: '#a06ed0',
    500: '#702eba',
    950: '#000000',
  },
}
SCSS
$custom: #702eba;
$custom-light: #a06ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#702eba",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 186
  },
  "hsl": {
    "h": 268.286,
    "s": 60.345,
    "l": 45.49
  },
  "oklch": {
    "l": 0.4722,
    "c": 0.2044,
    "h": 299.9
  },
  "luminance": 0.08944
}

Semantic roles & 50–950 ramp

primary
#702EBA
secondary
#A4C97B
accent
#E34498
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0714
muted
#7F7A82

Preview Lab

Preview with #702EBA

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

Preview Lab → · Contrast checker → · Palette generator →

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