#702DBC#702DBC

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

Color values

HEX#702DBC
RGBrgb(112, 45, 188)
HSLhsl(268, 61%, 46%)
HSVhsv(268, 76%, 74%)
CMYKcmyk(40.4%, 76.1%, 0%, 26.3%)
CIE-LABlab(35.89, 56.35, -63.18)
CIE-LCHlch(35.89, 84.66, 311.73°)
OKLaboklab(47.28% 0.1022 -0.1806)
OKLCHoklch(47.28% 0.208 299.5)
XYZxyz(16.6953, 8.9522, 48.4155)
Luminance0.0895 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702DBC #79BC2D
analogous
#2D31BC #702DBC #B72DBC
triadic
#702DBC #BC702D #2DBC70
tetradic
#702DBC #BC2D31 #79BC2D #2DBCB7
square
#702DBC #BC2D31 #79BC2D #2DBCB7
split-complementary
#702DBC #BCB72D #31BC2D
monochromatic
#351559 #53218B #702DBC #8F51D5 #AF82E1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##702DBC#FFFFFF#000000##FFFFFF
##702DBC1.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)
#0054C0
Deuteranopia (green-blind)
#0053B9
Tritanopia (blue-blind)
#5E5373
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702dbc;
/* rgb */ color: rgb(112, 45, 188);
/* oklch */ color: oklch(47.3% 0.208 299.5);
Tailwind
colors: {
  custom: {
    50: '#a06dd1',
    500: '#702dbc',
    950: '#000000',
  },
}
SCSS
$custom: #702dbc;
$custom-light: #a06dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#702dbc",
  "rgb": {
    "r": 112,
    "g": 45,
    "b": 188
  },
  "hsl": {
    "h": 268.112,
    "s": 61.373,
    "l": 45.686
  },
  "oklch": {
    "l": 0.47282,
    "c": 0.20753,
    "h": 299.5
  },
  "luminance": 0.08952
}

Semantic roles & 50–950 ramp

primary
#702DBC
secondary
#A5CA7B
accent
#E44399
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #702DBC

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

Preview Lab → · Contrast checker → · Palette generator →

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