#702BBF#702BBF

#702BBF is a mid, highly saturated violet. Relative luminance 0.089; OKLCH L 47.3% C 0.213 H 299.0°. Best body text is #FFFFFF at 7.54:1 contrast (WCAG AA passes).

Color values

HEX#702BBF
RGBrgb(112, 43, 191)
HSLhsl(268, 63%, 46%)
HSVhsv(268, 77%, 75%)
CMYKcmyk(41.4%, 77.5%, 0%, 25.1%)
CIE-LABlab(35.86, 57.90, -65.01)
CIE-LCHlch(35.86, 87.06, 311.69°)
OKLaboklab(47.34% 0.1031 -0.1859)
OKLCHoklch(47.34% 0.213 299)
XYZxyz(16.9475, 8.9338, 50.1116)
Luminance0.0893 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702BBF #7ABF2B
analogous
#2B30BF #702BBF #BA2BBF
triadic
#702BBF #BF702B #2BBF70
tetradic
#702BBF #BF2B30 #7ABF2B #2BBFBA
square
#702BBF #BF2B30 #7ABF2B #2BBFBA
split-complementary
#702BBF #BFBA2B #30BF2B
monochromatic
#35155B #53208D #702BBF #8F50D8 #AF82E3

Accessibility & contrast

On white

7.54
#702BBF on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #702BBF
7.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702BBF#FFFFFF#000000##FFFFFF
##702BBF1.007.542.797.54
#FFFFFF7.541.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0054C3
Deuteranopia (green-blind)
#0053BC
Tritanopia (blue-blind)
#5D5374
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #702bbf;
/* rgb */ color: rgb(112, 43, 191);
/* oklch */ color: oklch(47.3% 0.213 299.0);
Tailwind
colors: {
  custom: {
    50: '#a06cd3',
    500: '#702bbf',
    950: '#000000',
  },
}
SCSS
$custom: #702bbf;
$custom-light: #a06cd3;
$custom-dark: #000000;
JSON
{
  "hex": "#702bbf",
  "rgb": {
    "r": 112,
    "g": 43,
    "b": 191
  },
  "hsl": {
    "h": 267.973,
    "s": 63.248,
    "l": 45.882
  },
  "oklch": {
    "l": 0.47336,
    "c": 0.21261,
    "h": 299
  },
  "luminance": 0.08934
}

Semantic roles & 50–950 ramp

primary
#702BBF
secondary
#A6CC7A
accent
#E64299
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83

Preview Lab

Preview with #702BBF

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

Preview Lab → · Contrast checker → · Palette generator →

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