#702EB9#702EB9

#702EB9 is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.1% C 0.203 H 300.1°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#702EB9
RGBrgb(112, 46, 185)
HSLhsl(268, 60%, 45%)
HSVhsv(268, 75%, 73%)
CMYKcmyk(39.5%, 75.1%, 0%, 27.5%)
CIE-LABlab(35.79, 55.19, -61.57)
CIE-LCHlch(35.79, 82.69, 311.87°)
OKLaboklab(47.14% 0.1021 -0.1759)
OKLCHoklch(47.14% 0.203 300.1)
XYZxyz(16.4139, 8.9014, 46.7429)
Luminance0.0890 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702EB9 #77B92E
analogous
#2E32B9 #702EB9 #B52EB9
triadic
#702EB9 #B9702E #2EB970
tetradic
#702EB9 #B92E32 #77B92E #2EB9B5
square
#702EB9 #B92E32 #77B92E #2EB9B5
split-complementary
#702EB9 #B9B52E #32B92E
monochromatic
#351657 #522288 #702EB9 #8F51D4 #AE82E0

Accessibility & contrast

On white

7.55
#702EB9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.78
#702EB9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702EB9
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702EB9#FFFFFF#000000##FFFFFF
##702EB91.007.552.787.55
#FFFFFF7.551.0021.001.00
#0000002.7821.001.0021.00
##FFFFFF7.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #702eb9;
/* rgb */ color: rgb(112, 46, 185);
/* oklch */ color: oklch(47.1% 0.203 300.1);
Tailwind
colors: {
  custom: {
    50: '#a06ecf',
    500: '#702eb9',
    950: '#000000',
  },
}
SCSS
$custom: #702eb9;
$custom-light: #a06ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#702eb9",
  "rgb": {
    "r": 112,
    "g": 46,
    "b": 185
  },
  "hsl": {
    "h": 268.489,
    "s": 60.173,
    "l": 45.294
  },
  "oklch": {
    "l": 0.47137,
    "c": 0.20336,
    "h": 300.1
  },
  "luminance": 0.08902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #702EB9

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

Preview Lab → · Contrast checker → · Palette generator →

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