#702CE2#702CE2

#702CE2 is a mid, highly saturated violet. Relative luminance 0.107; OKLCH L 50.6% C 0.247 H 291.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#702CE2
RGBrgb(112, 44, 226)
HSLhsl(262, 76%, 53%)
HSVhsv(262, 81%, 89%)
CMYKcmyk(50.4%, 80.5%, 0%, 11.4%)
CIE-LABlab(39.13, 66.09, -79.90)
CIE-LCHlch(39.13, 103.69, 309.60°)
OKLaboklab(50.57% 0.0917 -0.2296)
OKLCHoklch(50.57% 0.247 291.8)
XYZxyz(21.3063, 10.7363, 72.8864)
Luminance0.1074 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702CE2 #9EE22C
analogous
#2C43E2 #702CE2 #CB2CE2
triadic
#702CE2 #E2702C #2CE270
tetradic
#702CE2 #E22C43 #9EE22C #2CE2CB
square
#702CE2 #E22C43 #9EE22C #2CE2CB
split-complementary
#702CE2 #E2CB2C #43E22C
monochromatic
#3C1282 #5419B8 #702CE2 #9462E9 #B998F1

Accessibility & contrast

On white

6.67
#702CE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#702CE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #702CE2
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702CE2#FFFFFF#000000##FFFFFF
##702CE21.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FE7
Deuteranopia (green-blind)
#0058DF
Tritanopia (blue-blind)
#486289
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #702ce2;
/* rgb */ color: rgb(112, 44, 226);
/* oklch */ color: oklch(50.6% 0.247 291.8);
Tailwind
colors: {
  custom: {
    50: '#a46fec',
    500: '#702ce2',
    950: '#000000',
  },
}
SCSS
$custom: #702ce2;
$custom-light: #a46fec;
$custom-dark: #000000;
JSON
{
  "hex": "#702ce2",
  "rgb": {
    "r": 112,
    "g": 44,
    "b": 226
  },
  "hsl": {
    "h": 262.418,
    "s": 75.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.50567,
    "c": 0.24722,
    "h": 291.8
  },
  "luminance": 0.10737
}

Semantic roles & 50–950 ramp

primary
#702CE2
secondary
#BFDC8E
accent
#F235AC
background
#FAF7FE
surface
#F5EDFD
border
#CFC8D5
text
#110816
muted
#807B84

Preview Lab

Preview with #702CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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