#702DC9#702DC9

#702DC9 is a mid, highly saturated violet. Relative luminance 0.095; OKLCH L 48.4% C 0.221 H 296.5°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#702DC9
RGBrgb(112, 45, 201)
HSLhsl(266, 63%, 48%)
HSVhsv(266, 78%, 79%)
CMYKcmyk(44.3%, 77.6%, 0%, 21.2%)
CIE-LABlab(37.00, 59.53, -68.99)
CIE-LCHlch(37.00, 91.12, 310.79°)
OKLaboklab(48.4% 0.0987 -0.1976)
OKLCHoklch(48.4% 0.221 296.5)
XYZxyz(18.1603, 9.5382, 56.1313)
Luminance0.0954 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DC9 #86C92D
analogous
#2D38C9 #702DC9 #BE2DC9
triadic
#702DC9 #C9702D #2DC970
tetradic
#702DC9 #C92D38 #86C92D #2DC9BE
square
#702DC9 #C92D38 #86C92D #2DC9BE
split-complementary
#702DC9 #C9BE2D #38C92D
monochromatic
#381765 #542297 #702DC9 #9159DA #B28BE5

Accessibility & contrast

On white

7.22
#702DC9 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#702DC9 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702DC9
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702DC9#FFFFFF#000000##FFFFFF
##702DC91.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058CD
Deuteranopia (green-blind)
#0055C6
Tritanopia (blue-blind)
#58587B
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #702dc9;
/* rgb */ color: rgb(112, 45, 201);
/* oklch */ color: oklch(48.4% 0.221 296.5);
Tailwind
colors: {
  custom: {
    50: '#a16edb',
    500: '#702dc9',
    950: '#000000',
  },
}
SCSS
$custom: #702dc9;
$custom-light: #a16edb;
$custom-dark: #000000;
JSON
{
  "hex": "#702dc9",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 201
  },
  "hsl": {
    "h": 265.769,
    "s": 63.415,
    "l": 48.235
  },
  "oklch": {
    "l": 0.48399,
    "c": 0.22092,
    "h": 296.5
  },
  "luminance": 0.09539
}

Semantic roles & 50–950 ramp

primary
#702DC9
secondary
#AECF83
accent
#E641A0
background
#FAF6FD
surface
#F4ECFB
border
#CEC7D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #702DC9

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

Preview Lab → · Contrast checker → · Palette generator →

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