#702FBB#702FBB

#702FBB is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.4% C 0.204 H 299.5°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#702FBB
RGBrgb(112, 47, 187)
HSLhsl(268, 60%, 46%)
HSVhsv(268, 75%, 73%)
CMYKcmyk(40.1%, 74.9%, 0%, 26.7%)
CIE-LABlab(36.11, 55.24, -62.24)
CIE-LCHlch(36.11, 83.22, 311.59°)
OKLaboklab(47.41% 0.1007 -0.1778)
OKLCHoklch(47.41% 0.204 299.5)
XYZxyz(16.6660, 9.0654, 47.8758)
Luminance0.0907 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#702FBB #7ABB2F
analogous
#2F34BB #702FBB #B62FBB
triadic
#702FBB #BB702F #2FBB70
tetradic
#702FBB #BB2F34 #7ABB2F #2FBBB6
square
#702FBB #BB2F34 #7ABB2F #2FBBB6
split-complementary
#702FBB #BBB62F #34BB2F
monochromatic
#351659 #53238A #702FBB #8F53D4 #AF84E0

Accessibility & contrast

On white

7.46
#702FBB on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.81
#702FBB on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #702FBB
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##702FBB#FFFFFF#000000##FFFFFF
##702FBB1.007.462.817.46
#FFFFFF7.461.0021.001.00
#0000002.8121.001.0021.00
##FFFFFF7.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0055BF
Deuteranopia (green-blind)
#0054B8
Tritanopia (blue-blind)
#5E5373
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #702fbb;
/* rgb */ color: rgb(112, 47, 187);
/* oklch */ color: oklch(47.4% 0.204 299.5);
Tailwind
colors: {
  custom: {
    50: '#a06ed0',
    500: '#702fbb',
    950: '#000000',
  },
}
SCSS
$custom: #702fbb;
$custom-light: #a06ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#702fbb",
  "rgb": {
    "r": 112,
    "g": 47,
    "b": 187
  },
  "hsl": {
    "h": 267.857,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.4741,
    "c": 0.20438,
    "h": 299.5
  },
  "luminance": 0.09066
}

Semantic roles & 50–950 ramp

primary
#702FBB
secondary
#A6C97C
accent
#E3459A
background
#FAF6FC
surface
#F4ECF9
border
#CEC7D2
text
#0F0814
muted
#7F7B82

Preview Lab

Preview with #702FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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