#702FCA#702FCA

#702FCA is a mid, highly saturated violet. Relative luminance 0.097; OKLCH L 48.7% C 0.220 H 296.1°. Best body text is #FFFFFF at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#702FCA
RGBrgb(112, 47, 202)
HSLhsl(265, 62%, 49%)
HSVhsv(265, 77%, 79%)
CMYKcmyk(44.6%, 76.7%, 0%, 20.8%)
CIE-LABlab(37.37, 58.95, -68.95)
CIE-LCHlch(37.37, 90.72, 310.53°)
OKLaboklab(48.69% 0.0969 -0.1976)
OKLCHoklch(48.69% 0.22 296.1)
XYZxyz(18.3564, 9.7416, 56.7788)
Luminance0.0974 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FCA #89CA2F
analogous
#2F3CCA #702FCA #BE2FCA
triadic
#702FCA #CA702F #2FCA70
tetradic
#702FCA #CA2F3C #89CA2F #2FCABE
square
#702FCA #CA2F3C #89CA2F #2FCABE
split-complementary
#702FCA #CABE2F #3CCA2F
monochromatic
#391867 #542398 #702FCA #915DD9 #B38FE5

Accessibility & contrast

On white

7.12
#702FCA on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#702FCA on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FCA
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FCA#FFFFFF#000000##FFFFFF
##702FCA1.007.122.957.12
#FFFFFF7.121.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059CE
Deuteranopia (green-blind)
#0056C7
Tritanopia (blue-blind)
#57597C
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #702fca;
/* rgb */ color: rgb(112, 47, 202);
/* oklch */ color: oklch(48.7% 0.220 296.1);
Tailwind
colors: {
  custom: {
    50: '#a16fdb',
    500: '#702fca',
    950: '#000000',
  },
}
SCSS
$custom: #702fca;
$custom-light: #a16fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#702fca",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 202
  },
  "hsl": {
    "h": 265.161,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.48687,
    "c": 0.22004,
    "h": 296.1
  },
  "luminance": 0.09742
}

Semantic roles & 50–950 ramp

primary
#702FCA
secondary
#B0CF86
accent
#E542A1
background
#FAF7FD
surface
#F4EDFB
border
#CEC8D4
text
#100815
muted
#7F7B83

Preview Lab

Preview with #702FCA

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

Preview Lab → · Contrast checker → · Palette generator →

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